You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2014/10/27 04:37:34 UTC

[jira] [Updated] (CAMEL-7964) camel-jetty should support Post Redirect Get WebDesign pattern

     [ https://issues.apache.org/jira/browse/CAMEL-7964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CAMEL-7964:
--------------------------------
    Description: 
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.

  was: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


> 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)