Merge pull request #505 from cbodley/wip-59218

test_sse_s3_default_multipart_upload verifies encryption header
This commit is contained in:
Ali Maredia 2023-04-10 22:41:11 -04:00 committed by GitHub
commit 2535dd695d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12646,6 +12646,7 @@ def test_sse_s3_default_multipart_upload():
assert response['Metadata'] == metadata assert response['Metadata'] == metadata
assert response['ResponseMetadata']['HTTPHeaders']['content-type'] == content_type assert response['ResponseMetadata']['HTTPHeaders']['content-type'] == content_type
assert response['ResponseMetadata']['HTTPHeaders']['x-amz-server-side-encryption'] == 'AES256'
body = _get_body(response) body = _get_body(response)
assert body == data assert body == data