DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38004>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38004





------- Additional Comments From [EMAIL PROTECTED]  2005-12-22 12:13 -------
Request to http://google.com/

input/output: GET / HTTP/1.1
User-Agent: Jakarta Commons-HttpClient/3.0
Host: google.com

HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Set-Cookie:
PREF=ID=1f19f8bb9ac951a9:TM=1135227992:LM=1135227992:S=Ly6FRGzsKeYnIlWw;
expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com
Content-Type: text/html
Server: GWS/2.1
Content-Length: 222
Date: Thu, 22 Dec 2005 05:06:32 GMT

<HTML><HEAD><meta http-equiv="content-type" 
content="text/html;charset=us-ascii">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/";>here</A>.
</BODY></HTML>

Redirect attempt (to www.google.com, note the code is still passing google.com
as the Host)
GET / HTTP/1.1
User-Agent: Jakarta Commons-HttpClient/3.0
Host: google.com

HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Set-Cookie:
PREF=ID=74be7d5195fba646:TM=1135227996:LM=1135227996:S=b8jDlWu8OEBw6erI;
expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com
Content-Type: text/html
Server: GWS/2.1
Content-Length: 222
Date: Thu, 22 Dec 2005 05:06:36 GMT

<HTML><HEAD><meta http-equiv="content-type" 
content="text/html;charset=us-ascii">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/";>here</A>.
</BODY></HTML>

And so it will continue.  Google will adamantly redirect you to www.google.com,
httpclient will adamantly request the google.com host.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to