Hi, see

https://issues.apache.org/jira/browse/CXF-6611

Sergey
On 09/02/16 09:03, Zizou84 wrote:
Hello

I am using CXF 3.1.3 (jaxrs).

My custom header is ignored

org.apache.cxf.jaxrs.client.WebClient webClient =
factoryBean.createWebClient();
// set connection properties
org.apache.cxf.jaxrs.client.ClientConfiguration clientConfig =
WebClient.getConfig(webClient);
webClient.header(HttpHeaders.HOST, "mycustomHeader");

in the server side, the HttpHeaders.HOST header is the default one!!
How to set this custom header



--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-ignoring-custom-headers-tp5765711.html
Sent from the cxf-user mailing list archive at Nabble.com.



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to