Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Apr : Indy 9 HTTP PUT headers

www.cryer.info
Managed Newsgroup Archive

Indy 9 HTTP PUT headers

Subject:Indy 9 HTTP PUT headers
Posted by:"Mark Walker" (n@altexa.com)
Date:Wed, 12 Apr 2006 07:12:03

Hi

I need to be able to make an HTTP PUT connexion to a server, and specify
all the headers which are sent, as well as the request body.

For example, I need the HTTP request to look like that EXACTLY:

--
PUT /altexa-test/fl HTTP/1.0
Authorization: AWS  12GHGKM5J4HSY2VDTK02:$b64sig
Content-Type: application/octet-stream
Date: <date>
X-Amz-Acl: private
Content-Length: <some size>

<some data>
--


Is there some way I can force the headers with the IdHTTP component in
Indy 9?

I haven't found one...

TIA

Mark

Replies:

www.cryer.info
Managed Newsgroup Archive