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

Support for S3 PreSigned POST #397

Open
murrekatt opened this issue Sep 3, 2015 · 1 comment
Open

Support for S3 PreSigned POST #397

murrekatt opened this issue Sep 3, 2015 · 1 comment

Comments

@murrekatt
Copy link

Any plans to support S3 PreSigned POST?

I see there is some code for pre-signing here, but this is not that browser POST upload form.

Thanks!

@alimoeeny
Copy link
Contributor

@murrekatt As you noticed there is support for both POST and PUT S3 signed urls.
But if I remember correctly they assume you want to story the entire BODY of your request in S3 (or update in case of PUT).
I don't even know how the multipart (form/browser file upload) can work? I guess the server and the client (the browser) need to agree on field names and the separators before hand so that the server (goamz code) can generate and sign the thing properly. Just thinking out loud. It is not going to be easy to debug mmmm. If you ever wanted to try it, use runscope or some proxy and capture the failing request to compare with the one that goamz was signed ....

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

No branches or pull requests

2 participants