hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: Over writing the host header does not work
Date Fri, 09 Feb 2007 16:49:39 GMT
Hello Impy,

the value of the Host: header is controlled by HttpClient
and can not be set manually. Use the VIRTUAL_HOST parameter
to tell HttpClient which value to use:
http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/params/HttpMethodParams.html#setVirtualHost(java.lang.String)

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message