aws-sign4
aws-sign4 copied to clipboard
Fix newline encoding on windows.
Flexi-streams on windows by default encodes a newline character as two bytes (CRLF), when AWS expects just LF. This changes the hash of the canonical request, so invalidates the signature.