express-http-proxy
express-http-proxy copied to clipboard
fix zlib error of 'Error: unexpected end of file'
fix zlib error of 'Error: unexpected end of file'.
now I have no idea how to fix this problem, couldnt pass the "on the nose" mocha test.
Hey @JanzenZhangChen, thanks for the patch.
Quick glance at the tests shows:
1) test userResDecorator on html response from github is able to read and manipulate the response:
Error: incorrect header check
at Zlib._handle.onerror (zlib.js:366:17)
Seems likely related to your patch. I'd like that to pass, and to have a test for this change to accept.
Let me know any questions, thanks!
Is this trying to fix the issue https://github.com/villadora/express-http-proxy/issues/177 ?