Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Nov : Access HTTP Document on error

www.cryer.info
Managed Newsgroup Archive

Access HTTP Document on error

Subject:Access HTTP Document on error
Posted by:"Mark Walker" (mswalk..@gmail.com)
Date:9 Nov 2006 09:06:19

Hi

I'm using INDY (9) to access Amazon's S3 service to send files.  On
error (authentification, or other error), Amazon replies with a non-200
response code (which is normal), and the error reason in the HTTP
document.

When I do a TCP trace in ethereal, I can see the error document (it's
XML, but that's not important here).  However, I have found no way of
accessing the document, when the response code is not 200.

Am I being stupid here?  Or am I missing something?

TIA

Mark

Replies:

www.cryer.info
Managed Newsgroup Archive