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
HttpTst ?
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: ' + FTargetHost)
else
Headers.Add('Host: ' + FTargetHost + ':' + FTargetPort);
--
[EMAIL PROTECTED]
The author for the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
----- Original Message -----
From: "Bruno Mannina" <[EMAIL PROTECTED]>
To: "ICS support mailing" <[email protected]>
Sent: Wednesday, October 19, 2005 3:20 AM
Subject: [twsocket] Do You have the same problem with this url and HttpTst ?
> 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 for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be