Ensure Written is set in GZIP ProxyResponseWriter (#9018)
Ensure Written is set in GZIP ProxyResponseWriter (#9018)

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.
go-gitea/gitea,vCaesar/gitea,typeless/gitea,lafriks/gitea,lafriks/gitea,go-gitea/gitea,vCaesar/gitea,typeless/gitea,sapk-fork/gitea,sapk-fork/gitea,sapk-fork/gitea,typeless/gitea,go-gitea/gitea,vdbt/gitea,typeless/gitea,vdbt/gitea,sapk-fork/gitea,cez81/gitea,cez81/gitea,cez81/gitea,lafriks/gitea