> 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); ... if (FTargetPort = '80') or (FTargetPort = '') then Headers.Add('Host: ' + FTargetHost) else Headers.Add('Host: ' + FTargetHost + ':' + FTargetPort); Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [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: "DZ-Jay" <[EMAIL PROTECTED]> To: <twsocket@elists.org> Sent: Wednesday, October 19, 2005 5:24 PM Subject: [twsocket] Do You have the same problem with this url and HttpTst ? > 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 (compatible) > cmd> Host: liinwww.ira.uka.de > cmd> > text/html => agents.html > Location = http://liinwww.ira.uka.de/bibliography/Ai/agents.html > URL = http://liinwww.ira.uka.de/bibliography/Ai/agents.html > Document = agents.html > RequestDone, no error. Status =200 > StatusCode = 200 > > > Can you post the output you are getting from the program? Also, are > you using the latest version of ICS and the HttpTst program? If not, > which version are you using? > > Thank you, > dZ. > > -- > God is real -- except when declared as an integer; and infinite when > divided by zero. > > DZ-Jay [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > > > -- > 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