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

Check that identity is not rejected #112

Open colega opened 2 years ago

colega commented 2 years ago

When applying the minimum size for gzip compression, we're currently not checking whether the identity encoding was not explicitly rejected in the headers.

This fixes that.