Closed juliens closed 6 years ago
GzipResponseWriterWithCloseNotify doesn't implement CloseNotifier, but *GzipResponseWriterWithCloseNotify does.
Fix the tests to really verify with a request that accept gzip.
You’d be better off changing CloseNotify to accept a value reciever instead. Doing that imposes no overhead, whereas this PR would add an extra allocation per request.
CloseNotify
🌭 🍕 thanks!!
GzipResponseWriterWithCloseNotify doesn't implement CloseNotifier, but *GzipResponseWriterWithCloseNotify does.
Fix the tests to really verify with a request that accept gzip.