kndt84/aws-api-gateway-client

buildCanonicalHeaders should lowercase header names before sorting

eranation opened this issue · 1 comments

https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html

To create the canonical headers list, convert all header names to lowercase and remove leading spaces and trailing spaces. Convert sequential spaces in the header value to a single space.

I think that right now it sorts first, lower case later.

Thansk for sendig a PR