pkrumins / nodejs-proxy

A HTTP proxy server written in node.js
http://www.catonmat.net/http-proxy-in-nodejs
413 stars 129 forks source link

Incomplete response on gzipped requests #3

Open bennyborn opened 14 years ago

bennyborn commented 14 years ago

If browser sends "Accept-Encoding: gzip, deflate" it never gets the complete response. This causes many broken pages because of JavaScript errors. The only way to solve this (as far as I found it) is to strip the "Accept-Encoding" header from the request but there should be a better solution.

pkrumins commented 14 years ago

thanks for reporting this, i'll investigate this in a while.