[
https://issues.apache.org/jira/browse/CAMEL-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184788#comment-14184788
]
Willem Jiang commented on CAMEL-7964:
-------------------------------------
I just ran some tests, camel-http4 support this pattern out of box, camel-http
doesn't support it as HttpClient 3 wants user handler the redirection from
application level[1].
For camel-netty-http, camel-netty4-http, we don't support auto redirect yet.
> camel-jetty should support Post Redirect Get WebDesign pattern
> --------------------------------------------------------------
>
> Key: CAMEL-7964
> URL: https://issues.apache.org/jira/browse/CAMEL-7964
> Project: Camel
> Issue Type: Bug
> Components: camel-jetty
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.15.0
>
>
> The HTTP 303 response in response to a POST indicates that the POST was
> successful. Currently, Camel Jetty will throw an exception by default for a
> 303. There is a work around for this, but it involves setting
> throwExceptionOnFailure=true, which then ignores legitimate errors. For
> reference on how 303 responses should work, please see the following:
> http://en.wikipedia.org/wiki/Post/Redirect/Get
> For camel-jetty, we can add CamelRedirectListener to do this kind of thing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)