Support for encoding HTTP message trailers?
"이희승 (Trustin Lee)"
trustin at gmail.com
Thu Aug 6 02:48:12 EDT 2009
On 08/01/2009 04:07 AM, 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.
I thought people don't use it so far, but it seems like it's used by
someone. :)
Could you let me know what is your use case of the trailing header?
That would help me to find the best way to add support for trailing headers.
Thanks,
Trustin
More information about the netty-users
mailing list