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

Claus Ibsen commented on CAMEL-20638:
-------------------------------------

Its off by default in the code, right?

private boolean returnHttpRequestHeaders = false;

I dont think it makes sense to return http request headers. So I think the 
default should be true, and then documented in the 4.8 upgrade guide.
And users they somehow need those as response can turn it off.

> camel-platform-http - Do not return http request headers
> --------------------------------------------------------
>
>                 Key: CAMEL-20638
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20638
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-platform-http
>            Reporter: Claus Ibsen
>            Assignee: Ivan Kulaga
>            Priority: Minor
>             Fix For: 4.8.0
>
>
> Lets see if we can filter out known request headers so the HTTP server does 
> not response with these out of the box, such as:
> - Accept
> - User-Agent
> - .. and a bunch more



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to