middlewares / encoder

PSR-15 middleware to encode the response body to gzip or deflate
MIT License
6 stars 2 forks source link

Fix content-length header #1

Closed ajgarlag closed 7 years ago

ajgarlag commented 7 years ago

This middleware should fix or remove the Content-Length header of the response once the body has been modified.

oscarotero commented 7 years ago

That's a good point. Fixed in 0.3.1 Thanks!