PUT Bucket requestPayment

From Hostway API Documentation
Revision as of 07:28, 20 May 2013 by Mike.robski (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

request payment configuration of a bucket.

PUT /?requestPayment

Requests

Syntax
PUT /?requestPayment HTTP/1.1
Host: BucketName.hs2.hostway.com
Date: date
Authorization: signatureValue
Content-Length: length

<RequestPaymentConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
  <Payer>payer</Payer>
</RequestPaymentConfiguration>
Parameters

This implementation of the operation does not use request parameters.

Headers

This implementation of the operation only uses request headers common to all operations

Elements in body
  • Payer: Specifies who pays for the download and request fees.
  • RequestPaymentConfiguration: Container for Payer.

Responses

Headers

This implementation of the operation uses only response headers that are common to most responses

Elements

This implementation of the operation does not return response elements.

Examples

Sample Request
PUT /?requestPayment HTTP/1.1
Host: BucketName.hs2.hostway.com
Content-Length: length
Date: date
Authorization: AWS signatureValue

<RequestPaymentConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
  <Payer>Requester</Payer>
</RequestPaymentConfiguration>
Sample Response
HTTP/1.1 200 OK
Date : date
Connection : keep-alive
Content-Length : 0
Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox