]> source.dussan.org Git - gitea.git/commit
Ensure Written is set in GZIP ProxyResponseWriter (#9018) (#9025)
authorzeripath <art27@cantab.net>
Fri, 15 Nov 2019 15:57:57 +0000 (15:57 +0000)
committerGitHub <noreply@github.com>
Fri, 15 Nov 2019 15:57:57 +0000 (15:57 +0000)
commita0e76de75af2cbe550295b085fdb2be52cdf50af
tree38dd1cb85113de80d47e1ae3a050903f3fb9b77b
parent880f26c7f0120b90233d3738c5c7c326c29f36e6
Ensure Written is set in GZIP ProxyResponseWriter (#9018) (#9025)

Fix #9001

The GZIP ProxyReponseWriter doesn't currently respond correctly
to requests about its Written status - leading to #9001.

This PR properly reimplements these methods.
modules/gzip/gzip.go