stream-utils / inflation

Easily unzip an HTTP stream
MIT License
18 stars 4 forks source link

Don't use zlib.Unzip #1

Open dougwilson opened 10 years ago

dougwilson commented 10 years ago

I don't think it should use zlib.Unzip, because I feel like it'll allow people to accidentally send the wrong information to your server without realizing, i.e. they send a gzip stream but say it is deflate and this module will accept it. Later when you put a proxy in front, much breaking will ensue.

jonathanong commented 10 years ago

sure why not. haha