Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: 2.3.1
-
Fix Version/s: 2.4.0.M1
-
Component/s: Integration: Spring MVC
-
Labels:
Description
In org.springframework.webflow.mvc.servlet.FlowHandlerAdapter there is the property redirectHttp10Compatible which decide if the redirect is sent with a 302 or a 303 status code.
Shouldn't we rather use the request http protocol version rather than a static property ? We send the response corresponding to the request.
I'm here because I was testing my flow on a Http/1.1 client and it didn't redirect properly because the server was sending a 302 status code after a POST. Setting the redirectHttp10Compatible property to false solved the problem but now it's not compatible with Http/1.0 clients.
I'm not sure if it's a Spring WebFlow issue or just a Spring Web issue.