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

REST DSL with camel-restlet: Status 302 (redirect) and the 'location' header

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.15.0
    • Fix Version/s: None
    • Component/s: camel-restlet
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      There doesn't seem to be a way to use the REST DSL in a provider-agnostic way in order to produce a redirect.

      Setting the location header generates a warning sent to the console:

      Addition of the standard header "location" is not allowed. Please use the equivalent property in the Restlet API.

      Very small example: http://pastebin.com/Zaq7p0Us

      Also see linked JIRA.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                camelguy Camel Guy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: