CONTAP-576720: S3-Server: Add support for x-amz-content-sha256 = STREAMING-UNSIGNED-PAYLOAD-TRAILER
Issue
- If the the AWS CLI sends a unsupported value ("STREAMING-UNSIGNED-PAYLOAD-TRAILER") for the x-amz-content-sha256 HTTP header, the S3 object upload will fail with the below mesage
- upload failed: ./file-to-upload.txt to s3://bucket/file-to-upload.txt An error occurred (InvalidArgument) when calling the PutObject operation: x-amz-content-sha256 must be UNSIGNED-PAYLOAD, STREAMING-AWS4-HMAC-SHA256-PAYLOAD or a valid sha256 value.
- This failure is only expected when ./file-to-upload.txt is not large enough to elicit a multipart upload.
- If the command run with the --debug parameter, the output will contain
- x-amz-content-sha256:STREAMING-UNSIGNED-PAYLOAD-TRAILER
