nytimes / gziphandler

Go middleware to gzip HTTP responses
https://godoc.org/github.com/NYTimes/gziphandler
Apache License 2.0
868 stars 129 forks source link

fix handling of responses which are already compressed #55

Closed tj closed 7 years ago

tj commented 7 years ago

In my case with Up (reverse proxy) the origin may have already compressed, so it would be safe for this middleware to nop. Let me know if you want anything tweaked!

tj commented 7 years ago

thanks man!