You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/07/31 15:39:51 UTC

[jira] [Resolved] (CAMEL-6590) Restlet header warnings

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

Willem Jiang resolved CAMEL-6590.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.12.0
                   2.11.2
                   2.10.7

Applied the patch into master, camel-2.11.x and camel-2.10.x branches with thanks to David
                
> Restlet header warnings
> -----------------------
>
>                 Key: CAMEL-6590
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6590
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-restlet
>    Affects Versions: 2.11.1
>            Reporter: David Keen
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.7, 2.11.2, 2.12.0
>
>         Attachments: patchfile.txt
>
>
> Warnings are produced about addition of standard headers when using restlet component. 
> Eg, when running https://github.com/bibryam/camel-example-restlet-jdbc:
> {code}
> Jul 30, 2013 12:40:19 PM org.restlet.engine.http.header.HeaderUtils addExtensionHeaders
> WARNING: Addition of the standard header "User-Agent" is not allowed. Please use the equivalent property in the Restlet API.
> Jul 30, 2013 12:40:19 PM org.restlet.engine.http.header.HeaderUtils addExtensionHeaders
> WARNING: Addition of the standard header "Host" is not allowed. Please use the equivalent property in the Restlet API.
> Jul 30, 2013 12:40:19 PM org.restlet.engine.http.header.HeaderUtils addExtensionHeaders
> WARNING: Addition of the standard header "Accept" is not allowed. Please use the equivalent property in the Restlet API.
> Jul 30, 2013 12:40:19 PM org.restlet.engine.http.header.HeaderUtils addExtensionHeaders
> WARNING: Addition of the standard header "Content-Length" is not allowed. Please use the equivalent property in the Restlet API.
> Jul 30, 2013 12:40:19 PM org.restlet.engine.http.header.HeaderUtils addExtensionHeaders
> WARNING: Addition of the standard header "Content-Type" is not allowed. Please use the equivalent property in the Restlet API.
> {code}
> This clutters up the logs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira