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 Tue, 03 Jan 2017 13:44:58 GMT

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

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

Yes its a problem they will improve/fix on the restlet side of things.

> 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
>            Priority: Minor
>
> 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.3.4#6332)

Mime
View raw message