arnemolland / sigv4

Dart library for signing AWS requests with Signature Version 4
MIT License
17 stars 23 forks source link

Another problem with x-amz-content-sha256 #8

Closed jfrsbg closed 4 years ago

jfrsbg commented 4 years ago

Trying to make requests from s3 bucket but i got the message:

x-amz-content-sha256 must be UNSIGNED-PAYLOAD, STREAMING-AWS4-HMAC-SHA256-PAYLOAD, or a valid sha256 value

the _no_payload value on Class Sigv4Client has "STREAMING-HMAC-SHA256-PAYLOAD" and i think its need to be "STREAMING-AWS4-HMAC-SHA256-PAYLOAD"

arnemolland commented 4 years ago

Hi @jfrsbg 👋

You're absolutely right, I must have missed that one.