Is anybody willing to
give me advice on how to squash this bug?


Use a network sniffer to spy on the LAN cable and see if the request is what you expect it to be, what the CGI expect it to be, see the difference between your two clients.

You can use Ethereal which is free. Link is on my "links" page at my website.

--
[EMAIL PROTECTED]
http://www.overbyte.be


----- Original Message ----- From: "John Randall" <[EMAIL PROTECTED]>
To: <twsocket@elists.org>
Sent: Thursday, June 23, 2005 11:27 PM
Subject: [twsocket] Unhelpful error message from the HTTPCli


This query relates to the HTTPCli component.

I have a web client and server pair which is not co-operating and I can't
find the bug.  Lets call this pair A.  I have another pair, call it B,
which is working just fine - and has been for a while.  If I change the
string (content) sent and the URL, to the values for B, client A
works just fine, so the problem must be with server A.  Either its the
program, the string sent, or the URL.

The bug gets more frustrating.  Server A is in folder A on the server PC
and server B in folder B.  Copying server A to folder B and modifing the
URL appropriately, I tried client A again.  There's still an error, but a
different one!

I don't believe the errors to be relevant (I think they're misleading)
but when I use client A to send to server A in folder A, I get the
"Method not allowed" error.  When I send to the copy of the server in
folder B, I get "File or network error".

I'm using the POST method and the server is a CGI script.  I'm
programming in Delphi 7 on an XP PC and the server is a Windows 2000 PC.

My belief is that the problem is the server program. Is anybody willing to
give me advice on how to squash this bug?  I hope the above is sufficient
information, but I'd be delighted to supply any missing detail. I appreciate that the HTTPCli component is working just fine, but the error messages it's giving
me aren't leading me to the cause of the problem.

John Randall.
--
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

Reply via email to