[thelist] html page analyser program

Ken Schaefer ken.schaefer at gmail.com
Wed Jul 14 19:26:21 CDT 2004


On Wed, 14 Jul 2004 14:18:47 +0100, Alex Beston <alex at deltatraffic.co.uk> wrote:
> Ken Schaefer wrote:
> 
> >Hi,
> >
> >>From reading your code, it seems you are sending (as I understand it):
> >
> >GET /someURL HTTP/1.0
> >HOST: www.whatever.com
> >
> >That is not valid (which is why the remote server is returning 400 Bad
> >Request). If you want to send the HTTP Host: header, you need to send
> >HTTP/1.1 as the protocol you are using.
> >
> >GET /someURL HTTP/1.1
> >HOST: www.whatever.com
> >
> 
> yes, i made the change as you suggested, but it doesnt change the
> result, unfortunately.


Can you get an ethereal capture of the HTTP request that is going out
from your code? Thanks.

Cheers
Ken


More information about the thelist mailing list