Simeon Warner <simeon.warner@...> writes: > Hi, > > I finally spent some time trying to work out why the --add-headers option > didn't seem to work to add the > "x-amz-request-payer: requester" header required to accept charges for access > to a requester pays bucket > (http://docs.amazonwebservices.com/AmazonDevPay/latest/ > DevPayDeveloperGuide/index.html?S3RequesterPays.html). > It seems that any headers specified using the --add-headers option were never > actually used (at least in > 'ls' and 'get' and it seems many other commands too). The following patch > works against s3cmd-1.0.0: [snip]
Hi Simeon, thanks a lot for posting this. I was having this exact problem. I just submitted a pull request for s3cmd on github with this patch: https://github.com/s3tools/s3cmd/pull/42 And until they accept the pull request (or don't), my version with the patch is linked from there. Brendan -- PhD Student, Machine Learning Department School of Computer Science, Carnegie Mellon University http://brenocon.com ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ S3tools-general mailing list S3tools-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/s3tools-general