You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Anton Koscejev (JIRA)" <ji...@apache.org> on 2018/04/10 11:14:00 UTC

[jira] [Updated] (CAMEL-12429) Avoid restlet response header warnings by using Restlet HeaderUtils

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

Anton Koscejev updated CAMEL-12429:
-----------------------------------
    Component/s: camel-restlet

> Avoid restlet response header warnings by using Restlet HeaderUtils
> -------------------------------------------------------------------
>
>                 Key: CAMEL-12429
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12429
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-restlet
>    Affects Versions: 2.20.2
>            Reporter: Anton Koscejev
>            Priority: Trivial
>
> Camel still prints warnings such as this:
>  {code}
> Addition of the standard response header "ETag" is not allowed. Please use the equivalent property in the Restlet API.
> {code}
> However, these headers are actually easy to set by using Restlet's own HeaderUtils, specifically via: 
> {code}
> HeaderUtils.copyResponseTransportHeaders(standardHeaders, response);
> HeaderUtils.extractEntityHeaders(standardHeaders, response.getEntity());
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)