GitHub user erwelch opened a pull request: https://github.com/apache/camel/pull/935
CAMEL-9462 HTTP 1.1 Host header be dealt wrongly in proxy & load balancer You can merge this pull request into a Git repository by running: $ git pull https://github.com/erwelch/camel CAMEL-9462 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/935.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #935 ---- commit dfc6ee1098745518ca5db5aefef9f5b0f19b934d Author: Edward Welch <e...@edjusted.com> Date: 2016-04-07T11:48:16Z Adding a new endpoint property to the HttpCommonEndpoint which allows preserving the Host header in reverse proxy applications, this class is ued by the Http, Http4, and Jetty producers. Updated the HttpProducer (Jetty/HTTP4) to set the Host header when this flag is enabled. The older HTTP component does not readily let us override the Host header, this component will not support this parameter Updated the Integration Test to validate the behavior for both when the new parameter is set, and unset. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---