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

Option to use x-amz-date header instead of Date #299

Open
zbyte64 opened this issue Feb 10, 2016 · 0 comments
Open

Option to use x-amz-date header instead of Date #299

zbyte64 opened this issue Feb 10, 2016 · 0 comments

Comments

@zbyte64
Copy link

zbyte64 commented Feb 10, 2016

I have noticed that with browserify / jspm the Date header gets stripped causing AWS to reject the request saying the signature does not match. It seems that stream-http will strip the Date header because it is "unsafe"

https://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader%28%29-method

To work around this the client should have an option to set the x-amz-date header instead of Date. Is this reasonable?

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

1 participant