funkman commented on PR #524:
URL: https://github.com/apache/tomcat/pull/524#issuecomment-1183274376

   Looking at `org.apache.catalina.connector.Response` - Yes `sendRedirect()` 
does quite a few safety checks first. So yeah - this might have bad side 
effects with those missing checks. (such as isCommitted )
   
   I do notice a `sendRedirect(String location, int status)`  in 
`org.apache.catalina.connector.Response` which would be convenient to call 
instead and I just (re) checked 
https://javaee.github.io/javaee-spec/javadocs/javax/servlet/http/HttpServletResponse.html
 optimistically hoping `status` was a new option I missed. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to