Support for encoding HTTP message trailers?

pkwarren pkwarren at gmail.com
Fri Jul 31 15:07:33 EDT 2009


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.
-- 
View this message in context: http://n2.nabble.com/Support-for-encoding-HTTP-message-trailers--tp3364513p3364513.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list