Support for encoding HTTP message trailers?

Mike McGrady mmcgrady at topiatechnology.com
Sun Aug 2 12:56:21 EDT 2009


Simply put - yes!

Sent from my iPhone

On Jul 31, 2009, at 3:34 PM, Andreas Köhler <andi5.py at gmx.net> wrote:

> 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.
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users



More information about the netty-users mailing list