Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7964

camel-jetty should support Post Redirect Get WebDesign pattern

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.15.0
    • camel-jetty
    • None
    • Unknown

    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.

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: