Hi all
I'm currently trying to over write the host header using 3.1-beta using:
setRequestHeader("Host", "www.google.com")
However httpclient seems to ignore this requests, or it writes over it again
(I'm not sure currently sure what it is doing)
so if i do the following
httpget = new GetMethod("http://66.249.93.147/");
httpget.setRequestHeader("Host", "www.google.com");
etc etc......
It will send a request with the host header set as
Host: 66.249.93.147
and not
Host: www.google.com
Is this something I am doing wrong, or is a bug?
Thank in advance for any help
Impy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]