David Keen created CAMEL-6590:
---------------------------------

             Summary: Restlet header warnings
                 Key: CAMEL-6590
                 URL: https://issues.apache.org/jira/browse/CAMEL-6590
             Project: Camel
          Issue Type: Bug
          Components: camel-restlet
    Affects Versions: 2.11.1
            Reporter: David Keen


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

Reply via email to