You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ogao <ol...@gmail.com> on 2013/10/22 21:26:23 UTC

Re: Host header not set correctly with camel-http4

Hi,

We are using camel 2.12.0 http4 component to proxy http requests to a web
application. We ran into an issue with the host header being removed for
every proxied request due to this line of code in http4's HttpProducer.java

exchange.getIn().getHeaders().remove("host"); line 106

we found this post when this above line of code has been introduced. We
would like to keep the host header in the http proxy situation. Is there a
way around this other than modifying the existing http4 component source
code?

Thanks!





--
View this message in context: http://camel.465427.n5.nabble.com/Host-header-not-set-correctly-with-camel-http4-tp5721621p5742040.html
Sent from the Camel - Users mailing list archive at Nabble.com.