[ 
https://issues.apache.org/jira/browse/CAMEL-12429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16432079#comment-16432079
 ] 

ASF GitHub Bot commented on CAMEL-12429:
----------------------------------------

koscejev opened a new pull request #2285: CAMEL-12429: use Restlet HeaderUtils 
to apply response headers
URL: https://github.com/apache/camel/pull/2285
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to