Uncompressing gzipped http chunks
"이희승 (Trustin Lee)"
trustin at gmail.com
Wed Nov 10 21:16:02 EST 2010
Leandro,
Yes. You can use CodecEmbedder. Please refer to the source code of the
HttpContentDecompressor - it actually uses CodecEmbedder to decode a
GZip stream.
HTH
Leandro Cruz wrote:
> 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
>
>
>
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
--
Trustin Lee - http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 290 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20101111/ce49da35/attachment.bin
More information about the netty-users
mailing list