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

Accept func(w http.ResponseWriter, r *http.Request) literals #86

Open mcandre opened 5 years ago

mcandre commented 5 years ago

Could the API feature a method for wrapping raw func(w http.ResponseWriter, r *http.Request)s? This could reduce boilerplate.