Closed zyla closed 5 years ago
Recent versions of http-proxy don't decompress gzipped responses - see https://github.com/restaumatic/http-proxy/commit/311caeb7e6bbea2b06c9b7a06578079441de5e87. This is for good reasons - one would also have to mess with the headers (Content-Encoding, and also Content-Length) to make everything correct.
http-proxy
Content-Encoding
Content-Length
An easier solution for dealing with gzipped responses is not to request them.
Recent versions of
http-proxy
don't decompress gzipped responses - see https://github.com/restaumatic/http-proxy/commit/311caeb7e6bbea2b06c9b7a06578079441de5e87. This is for good reasons - one would also have to mess with the headers (Content-Encoding
, and alsoContent-Length
) to make everything correct.An easier solution for dealing with gzipped responses is not to request them.