You're viewing a comment by seeker and its responses.

seeker Permalink
July 25, 2010, 03:55

I am trying to do a slight improvement to the proxy, I would like to block sites if they contain certain words, the problem I am facing is that some sites are encoding their content via gzip. I am trying to use node-compress to decompress the stream, but was unsuccessful. If you've got an ideas or if you can add another example that would be greatly appreciated.

Comment Responses

September 25, 2012, 02:38

The "easy" solution would be to strip any "Accept-Encoding" headers from incoming requests before forwarding them.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "sandbox": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.