On Friday 09 February 2007 16:49, Roland Weber wrote:
> 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/htt
>pclient/params/HttpMethodParams.html#setVirtualHost(java.lang.String)
>
> cheers,
> Roland
>
Thank you for your super fast responce!
httpclient.getParams().setVirtualHost("www.google.com");
did the trick.
Thanks again!
Impy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]