camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10665) Restlet header warnings - again
Date Thu, 05 Oct 2017 11:42:00 GMT

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

Claus Ibsen commented on CAMEL-10665:
-------------------------------------

Okay we got this improved a bit, a bunch of those headers are now configured. The ones that
are yet to be configured will now be logged by Camel using its logger so you can easily see
those WARNs. We do logging for request vs response side so that is easier to know a bit more.

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

Mime
View raw message