chilts / awssum

(deprecated: use aws-sdk) Node.js modules for talking to lots of Web Service APIs.
Other
462 stars 57 forks source link

Is x-amz-request-payer request header supported? #159

Closed mitar closed 11 years ago

mitar commented 11 years ago

I would like to use awssum to access requester payer S3 bucket. It requires to set x-amz-request-payer as a parameter when requesting an object. Is this supported or are just params listed here supported?

chilts commented 11 years ago

This has now been added to https://github.com/awssum/awssum-amazon-s3/ and released as awssum-amazon-s3 (v1.2.4).

It won't be backported to AwsSum v0.12.2 so please use the new plugin architecture. :)

I've added the RequestPayer param to GetObject. I tried to find out in the docs if there was an equivalent for PutObject but couldn't. I hope that's all bases covered.

Cheers, Andy

mitar commented 11 years ago

Vau, that was fast. Thanks!