Hello:
I just tested that URL with the HttpTst and it seems to work fine:
Not using proxy
cmd GET /bibliography/Ai/agents.html HTTP/1.0
cmd Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
cmd Connection: Keep-Alive
cmd Accept-Language: en, fr
cmd User-Agent: Mozilla/3.0
I get the same result as you. And I found why. And of course I fixed it.
Here is the fix (in red bold):
procedure THttpCli.SendRequest(const Method, Version: String);
...
if (FTargetPort = '80') or (FTargetPort = '') then
Headers.Add('Host: ' +
I just tested that URL with the HttpTst and it seems to work fine:
Well, not here. The problem was that the host header line was malformed. The
port is empty but the colon delimiter is there.
Here is the fix (in red bold):
procedure THttpCli.SendRequest(const Method, Version: String);
...
Hi Francois,
Well, well, well it's Work fine now :) even my program !!!
Thank's a lot
Bruno
- Original Message -
From: Francois PIETTE
To: ICS support mailing
Sent: Wednesday, October 19, 2005 8:26 PM
Subject: Re: [twsocket] Do You have the same problem with this url and
Hi All,
I want to GET this url http://liinwww.ira.uka.de/bibliography/Ai/agents.html
but HttpTst program returns me
Error 400 Bad Request ??!! FireFox or I.E. programs reply me StatusCode =
200 !!!
Can you try or give me a solution ??
Sincerely,
Bruno
--
To unsubscribe or change your settings