Make x-amz-access-token Header Case-Insensitive #635
Unanswered
JordanForeman
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to the HTTP/1.1 spec:
After a bit of poking and prodding, as well as some internet sleuthing, it would seem that the SP-API does validate the case of
x-amz-access-token
, and that it enforces lowercasing.Generally speaking this seems unnecessary, and has led to much confusion online. However it is almost unworkable in the Ruby community due to the capitalization enforced by the
Net::HTTPHeader
module, and documented in this very repository.Needless to say that it would be tremendously beneficial from a developer's standpoint to not have to worry about header name casing.
See also: https://github.com/amzn/selling-partner-api-docs/issues/292
Beta Was this translation helpful? Give feedback.
All reactions