Skip to content
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

Added signatureVersion to S3 init to support newer regions #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mikehhhhhhh
Copy link

Only older regions support the older V3 signing, which leads to the following error when trying to upload a file;

The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256

V4 should be supported everywhere.

@nrempel
Copy link
Owner

nrempel commented Feb 14, 2017

thanks @mikehhhhhhh I'll take a look at this asap

@mikehhhhhhh
Copy link
Author

I needed the ability to pass parameters to S3.

Particularly ContentType so files are displayed inline in the browser rather than downloaded.

I've added an extra parameter for all put methods that takes an object and adds it to the S3 upload request options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants