markt-asf commented on PR #524: URL: https://github.com/apache/tomcat/pull/524#issuecomment-1183279698
I was thinking of calling `sendRedirect()` and then explicitly setting the status if a different one was required. Possibly checking the location header to determine if the call to `sendRedirect()` was successful or not. Haven't tested it though. Which reminds me, we might want to add some test cases. -- 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