moritz löser created CAMEL-10665:
------------------------------------
Summary: Restlet header warnings - again
Key: CAMEL-10665
URL: https://issues.apache.org/jira/browse/CAMEL-10665
Project: Camel
Issue Type: Bug
Components: camel-restlet
Reporter: moritz löser
I am seeing warnings in log similar to those mentioned in CAMEL-6590.
{code}
[WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of
the standard header "Accept" is not allowed. Please use the equivalent property
in the Restlet API.
[WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of
the standard header "Accept-encoding" is not allowed. Please use the equivalent
property in the Restlet API.
[WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of
the standard header "Accept-language" is not allowed. Please use the equivalent
property in the Restlet API.
[WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of
the standard header "Connection" is not allowed. Please use the equivalent
property in the Restlet API.
[WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of
the standard header "Cookie" is not allowed. Please use the equivalent property
in the Restlet API.
[WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of
the standard header "Host" is not allowed. Please use the equivalent property
in the Restlet API.
[WARN ] 2017-01-01 15:20:50.168 [Restlet-2000563893] LogFilter - Addition of
the standard header "User-agent" is not allowed. Please use the equivalent
property in the Restlet API.
{code}
The lines added with the patch mentioned there were removed some commits later.
See
[history|https://github.com/apache/camel/commits/master/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletHeaderFilterStrategy.java]
[Commit that applied the
patch|https://github.com/apache/camel/commit/e7db4ab26749904a4d0ea0b6a0faadfa62519845#diff-40593731f0a05cbcfd5ea24e6bc7e76e]
[Commit that reverted
it(intentionally?)|https://github.com/apache/camel/commit/d8404f69dc54557a64fb90f9de48b5f1d6e1303a#diff-40593731f0a05cbcfd5ea24e6bc7e76e]
Probably i am totally wrong and those warnings are right, but what to do about
them?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)