-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for requester pays requests #100
Comments
There should be support for this feature in S3.putBucketRequestPayment. Is this what you are looking for, or is it not working for you? |
No. Requester Pays buckets are buckets where a person who does |
I made a simple patch which makes it work for me. |
You are correct that getObject has no parameter to specify the 'x-amz-request-payer' header. That's something that can be easily added (I was writing this as you just did). In the meantime, you can also workaround this by adding the header to the request yourself: var req = s3.getObject(params);
req.httpRequest.headers['x-amz-request-payer'] = 'requester';
req.on('complete', function (resp) { console.log(resp.data) });
req.send(); |
Aha, good, a workaround. :-) Thanks. |
This was not yet fixed? |
@mitar Requester pays buckets are now supported in the SDK. Thanks for reporting! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
It seem there is no support for Requester Pays Buckets.
The text was updated successfully, but these errors were encountered: