Re: connector redirect

2015-06-18 Thread Christopher Schultz
Mark, On 6/18/15 5:57 AM, Mark Thomas wrote: > On 18/06/2015 09:41, Romain Manni-Bucau wrote: >> Hi guys, >> >> when redirecting ports between connectors tomcat uses a 302 ATM, any reason >> to not use a 307 (ie support POST redirect as well)? > > Because the servlet spec says it has to be a 302.

Re: connector redirect

2015-06-18 Thread Romain Manni-Bucau
Hmm, link between connectors is tomcat specific so I guess we could have a flag to support all http methods and not rely on default sendRedirect Romain Manni-Bucau @rmannibucau | Blog | Github |

Re: connector redirect

2015-06-18 Thread Mark Thomas
On 18/06/2015 09:41, Romain Manni-Bucau wrote: > Hi guys, > > when redirecting ports between connectors tomcat uses a 302 ATM, any reason > to not use a 307 (ie support POST redirect as well)? Because the servlet spec says it has to be a 302. https://java.net/jira/browse/SERVLET_SPEC-100 Additi