Support for encoding HTTP message trailers?

Andreas Köhler andi5.py at gmx.net
Fri Jul 31 18:34:06 EDT 2009


Hi pkwarren,

would it be possible to add a SimpleDownstreamHandler on top of the
encoder that simply modifies the HTTPMessage?

Ciao,
-- andi5

pkwarren wrote:
> Is it possible to use the default HTTP encoder for sending trailing headers?
> If I use chunked encoding today and send all of the chunks, the last chunk
> includes an extra '\r\n' which precludes sending HTTP trailing headers in
> the response.
> 
> The only solution I can figure out so far is to not send the last HttpChunk
> and instead use a custom encoder/class to represent the last chunk and any
> trailing headers.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20090801/50a870bf/attachment.bin 


More information about the netty-users mailing list