mirror of
https://github.com/kataras/iris.git
synced 2026-01-20 10:26:01 +00:00
Merge branch 'master' of https://github.com/kataras/iris
Former-commit-id: 901fb7a50f0d60962f5c7a317e41d65d8a0ee993
This commit is contained in:
@@ -108,7 +108,7 @@ func (w *GzipResponseWriter) EndResponse() {
|
||||
func (w *GzipResponseWriter) Write(contents []byte) (int, error) {
|
||||
// save the contents to serve them (only gzip data here)
|
||||
w.chunks = append(w.chunks, contents...)
|
||||
return len(w.chunks), nil
|
||||
return len(contents), nil
|
||||
}
|
||||
|
||||
// Writef formats according to a format specifier and writes to the response.
|
||||
|
||||
Reference in New Issue
Block a user