[
https://issues.apache.org/jira/browse/CAMEL-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang resolved CAMEL-7964.
---------------------------------
Resolution: Fixed
Applied patch into camel master branch.
> 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)