diff options
Diffstat (limited to 'vendor/github.com/NYTimes/gziphandler')
-rw-r--r-- | vendor/github.com/NYTimes/gziphandler/gzip.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/NYTimes/gziphandler/gzip.go b/vendor/github.com/NYTimes/gziphandler/gzip.go index 39e8c5e75..dad0eb747 100644 --- a/vendor/github.com/NYTimes/gziphandler/gzip.go +++ b/vendor/github.com/NYTimes/gziphandler/gzip.go @@ -181,7 +181,7 @@ func GzipHandler(h http.Handler) http.Handler { } // acceptsGzip returns true if the given HTTP request indicates that it will -// accept a gzippped response. +// accept a gzipped response. func acceptsGzip(r *http.Request) bool { acceptedEncodings, _ := parseEncodings(r.Header.Get(acceptEncoding)) return acceptedEncodings["gzip"] > 0.0 |