You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by orchid <ol...@gmail.com> on 2013/11/05 15:31:53 UTC
http4 component remove host header
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/http4-component-remove-host-header-tp5742657.html
Sent from the Camel - Users mailing list archive at Nabble.com.