You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Camel Guy (JIRA)" <ji...@apache.org> on 2015/04/03 00:00:54 UTC

[jira] [Issue Comment Deleted] (CAMEL-8588) REST DSL with camel-restlet: Status 302 (redirect) and the 'location' header

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

Camel Guy updated CAMEL-8588:
-----------------------------
    Comment: was deleted

(was: Thanks for your help. Stupid me, I didn't try an uppercase L. And I don't have to use out any more either. After 18 months of Cameling, I still don't understand MEP.)

> REST DSL with camel-restlet: Status 302 (redirect) and the 'location' header
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-8588
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8588
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-restlet
>    Affects Versions: 2.15.0
>            Reporter: Camel Guy
>            Assignee: Claus Ibsen
>            Priority: Minor
>
> 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:
> {noformat}
> Addition of the standard header "location" is not allowed. Please use the equivalent property in the Restlet API.{noformat}
> Very small example: http://pastebin.com/Zaq7p0Us
> Also see linked JIRA.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)