Uncompressing gzipped http chunks

Leandro Cruz leandro.saad at gmail.com
Fri Aug 27 09:27:55 EDT 2010


Hi all,

I'm writing a HTTP/MSNP proxy using Netty called Uxy (Uber Proxy). My only
problem is handling gzipped chunked responses. I don't want to gunzip all
responses, just some (text/html for example). This is why I'm not
using HttpContentDecompressor.
I tried to use GZIPInputStream to uncompress the chunks, without aggregating
them, but the process fails with a gzip error.

Question: can I deflate/uncompress a single chunk using netty?

Cheers.

--
Leandro Rodrigo Saad Cruz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20100827/45797af7/attachment.html 


More information about the netty-users mailing list