Hi,
I just tried to figure out whether Tomcat 9 will let be send trailer
fields in a chunked HTTP/1.1 response, using
https://tomcat.apache.org/tomcat-9.0-doc/servletapi/javax/servlet/http/HttpServletResponse.html#setTrailerFields-java.util.function.Supplier-
I couldn't get it to work yet, so below some questions:
1) Is this actually supported for HTTP/1.1?
2) Will it automatically switch to chunked encoding (leaving out
content-length), or does the application code need to take care of that?
3) I understand that I need to send "Trailer" upfront, but what about
"TE" and "Connection"?
(pointer to working example would be cool as well)
Best regards, Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org