DavidMuller/aws-requests-auth

The x-amz-date and x-amz-content-sha256 are not UpperCase (first letter)

Opened this issue · 1 comments

I am confused on this because in some requests using boto3, I saw the header name X-Amz-Date is uppercase with every first letter.

But in our code, the header is x-amz-date .
https://github.com/DavidMuller/aws-requests-auth/blob/master/aws_requests_auth/aws_auth.py#L182

Is there anything I am missing ?

@DavidMuller ^^ . Is it in accordance with the https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html where small case headers are mentioned ?
Also, does the alphabetical order matter in the headers returned like "x-amz-content-sha256" should be before "x-amz-date" ?