2015-03-13 18:38 GMT+03:00 Christopher Schultz <ch...@christopherschultz.net>: > Mark, > > On 3/3/15 3:10 PM, bugzi...@apache.org wrote: >> https://bz.apache.org/bugzilla/show_bug.cgi?id=57570 >> >> --- Comment #2 from Mark Thomas <ma...@apache.org> --- >> RFC 7230 has added additional constraints [1] for the handling of trailers. >> >> [1] http://tools.ietf.org/html/rfc7230#page-37 > > Possibly silly question: > > If a client sends a chunked request to a Tomcat-deployed web > application, how does the web application get the trailer values? Just > use request.getHeader() but after the entity has been consumed? > > I have a use case where this might be quite useful and before I write-up > a POC, I'd like to know what to expect. >
Yes. See the testcase, that I mentioned in BZ TestChunkedInputFilter$EchoHeaderServlet Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org