Hi guys,
I solved this problem now. The solution ist to remove the RequestConnControl
and the RequestTargetHost Interceptor from clients (DefaultHttpClient)
HttpProcessor (BasicHttpProcessor).
/**
* RequestInterceptors adds MUST Headers (defines by the
* RFC2616) to each request/response.
*
* RequestConnControl: Connection header
* RequestTargetHost: Host header
*/
((DefaultHttpClient)client).removeRequestInterceptorByClass(
RequestConnControl.class);
((DefaultHttpClient)client).removeRequestInterceptorByClass(
RequestTargetHost.class);
--
View this message in context:
http://www.nabble.com/HttpClient-4%3A-Disable-Default-Header-tp23162913p23171806.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]