Re: Playing with 103 Early Hints

2024-10-08 Thread Mark Thomas
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 sendEarlyHi

Re: Playing with 103 Early Hints

2024-10-07 Thread Christopher Schultz
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 applicatio

Re: Playing with 103 Early Hints

2024-10-07 Thread Christopher Schultz
All, On 10/7/24 16:52, Christopher Schultz wrote: All, I thought it might be "fun" to play around with 103 Early Hints, which is a feature with support added in servlet.next which means Tomcat 12. It can be used currently with Tomcat 9.0 and later, as long as you are willing to downcast the

Re: Playing with 103 Early Hints

2024-10-07 Thread Christopher Schultz
All, On 10/7/24 16:52, Christopher Schultz wrote: All, I thought it might be "fun" to play around with 103 Early Hints, which is a feature with support added in servlet.next which means Tomcat 12. It can be used currently with Tomcat 9.0 and later, as long as you are willing to downcast the

Playing with 103 Early Hints

2024-10-07 Thread Christopher Schultz
All, I thought it might be "fun" to play around with 103 Early Hints, which is a feature with support added in servlet.next which means Tomcat 12. It can be used currently with Tomcat 9.0 and later, as long as you are willing to downcast the HttpServletResponse to a Tomcat-private class and y