Open zbyte64 opened 8 years ago
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"
Date
stream-http
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?
x-amz-date
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 thatstream-http
will strip theDate
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 ofDate
. Is this reasonable?