[thelist] html page analyser program
Richard Davey
rich at launchcode.co.uk
Wed Jul 14 19:39:19 CDT 2004
Hello Ken,
Wednesday, July 14, 2004, 2:06:42 PM, you wrote:
KS> GET /someURL HTTP/1.0
KS> HOST: www.whatever.com
KS> That is not valid (which is why the remote server is returning 400 Bad
KS> Request). If you want to send the HTTP Host: header, you need to send
KS> HTTP/1.1 as the protocol you are using.
Strange.. a 1.0 request worked just fine here:
GET / HTTP/1.0
User-Agent: Snoopy v1.01
Host: www.photos.org
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I am not young enough to know everything." - Oscar Wilde
More information about the thelist
mailing list