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

Aki Yoshida commented on CAMEL-6171:
------------------------------------

Hi Dan,
I am not sure about that special automatic handling of the User-Agent header in 
camel.

When you are passing a CXF message over a camel route, you will typically need 
an explicit removeHeaders step in the root configuration to filter out those 
transport-specific headers that you don't want to forward to the second 
transparent leg (e.g., the accept gzip stuff, chunking option, maybe cookies, 
etc). So, we can leave it to the scenario designer to decide if the user-agent 
is removed or forwarded in this way. no?

regards, aki


                
> camel-cxf - Should detect existing User-Agent header to avoid adding duplicate
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-6171
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6171
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.11.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/CXF-proxy-route-creates-multiple-two-user-agent-HTTP-headers-tp5729137.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to