Hi, I want HttpClient to send "Host" request header value which is different with the host connected. This behaviour is necessary for authentication purpose.
Is it possible to overwrites Host header? If yes, could you tell me how? (my desired behaviour log) DEBUG org.apache.commons.httpclient.HttpConnection - Open connection to www.example.com:80 DEBUG httpclient.wire.header - >> "POST /path/to/something HTTP/1.1[\r][\n]" DEBUG httpclient.wire.header - >> "Host: another.example.com[\r][\n]" Regards, Otsuka --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
