diff options
Diffstat (limited to 'weed/s3api/auth_signature_v4.go')
| -rw-r--r-- | weed/s3api/auth_signature_v4.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/s3api/auth_signature_v4.go b/weed/s3api/auth_signature_v4.go index 47fb94a43..43ca851fc 100644 --- a/weed/s3api/auth_signature_v4.go +++ b/weed/s3api/auth_signature_v4.go @@ -56,9 +56,10 @@ const ( streamingContentSHA256 = "STREAMING-AWS4-HMAC-SHA256-PAYLOAD" signV4ChunkedAlgorithm = "AWS4-HMAC-SHA256-PAYLOAD" - // http Header "x-amz-content-sha256" == "UNSIGNED-PAYLOAD" indicates that the + // http Header "x-amz-content-sha256" == "UNSIGNED-PAYLOAD" or "STREAMING-UNSIGNED-PAYLOAD-TRAILER" indicates that the // client did not calculate sha256 of the payload. - unsignedPayload = "UNSIGNED-PAYLOAD" + unsignedPayload = "UNSIGNED-PAYLOAD" + streamingUnsignedPayload = "STREAMING-UNSIGNED-PAYLOAD-TRAILER" ) // Returns SHA256 for calculating canonical-request. |
