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

[jira] [Resolved] (CAMEL-10665) Restlet header warnings - again

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

Claus Ibsen resolved CAMEL-10665.
---------------------------------
    Resolution: Fixed

There is a bunch of the standard headers done now. If you see more WARNs then let us know which options they are.

> Restlet header warnings - again
> -------------------------------
>
>                 Key: CAMEL-10665
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10665
>             Project: Camel
>          Issue Type: Task
>          Components: camel-restlet
>            Reporter: moritz löser
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.20.0
>
>
> 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?
> I am using version *2.18.1* of camel-core and camel-restlet



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)