diff --git a/gzip.go b/gzip.go index 891b8d42..ebae3291 100644 --- a/gzip.go +++ b/gzip.go @@ -25,6 +25,7 @@ func (w *gzipResponseWriter) WriteHeader(status int) { w.ResponseWriter.WriteHeader(status) } +// Write writes len(b) bytes from b to the underlying data stream. func (w *gzipResponseWriter) Write(b []byte) (int, error) { return w.Writer.Write(b) }