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

Set the HttpStatus correctly in the response header #38

Closed pcram-techcyte closed 7 years ago

pcram-techcyte commented 7 years ago

The HttpStatus was getting lost - every response was a 200 OK because ResponseWriter.WriteHeader() was never called.

adammck commented 7 years ago

LGTM, thanks for this!