aws4
aws4 copied to clipboard
Request body should allow Buffer object
…and it shouldn't assume UTF8 encoding.
Currently, when calculating the content hash, UTF8 encoding is assumed: https://github.com/mhart/aws4/blob/a413aadd9e4b4e58842937a9ad53354be41ef4a1/aws4.js#L14-L15