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

Camel Guy updated CAMEL-8588:
-----------------------------
    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.

  was:
There doesn't seem to be a way to use the REST DSL properly to produce a 
redirect. Setting the location header generates an error.

Example: http://pastebin.com/Zaq7p0Us

Also see linked JIRA.


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



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

Reply via email to