mirror of
https://github.com/kataras/iris.git
synced 2026-01-25 12:55:57 +00:00
version 12.1.5
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
This commit is contained in:
@@ -186,7 +186,7 @@ func AddGzipHeaders(w ResponseWriter) {
|
||||
// FlushResponse validates the response headers in order to be compatible with the gzip written data
|
||||
// and writes the data to the underline ResponseWriter.
|
||||
func (w *GzipResponseWriter) FlushResponse() {
|
||||
w.WriteNow(w.chunks)
|
||||
_, _ = w.WriteNow(w.chunks)
|
||||
w.ResponseWriter.FlushResponse()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user