On 07/10/2024 22:40, Christopher Schultz wrote:
All,

Top-posting to add another option for getting 103 Early Hints into the hands of application developers:

3. Allow applications to call response.sendError(103) or response.setStatus(103), to which Tomcat will simply call its own sendEarlyHints() method and return control to the application.

If you do this today in Tomcat 9, the client hangs waiting for a response after the 103 is sent.

Does this seem like a nice hack to implement?

FYI Jetty uses the sendError(103) approach. I like this both since it seems like the most appropriate way to hack this and that it is consistent with how Jetty does it.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to