From 264e37110117daaa8b3d5d7e3b26e5c48705f5a1 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Thu, 30 Mar 2023 14:27:27 -0400 Subject: [PATCH] test_sse_s3_default_multipart_upload verifies encryption header Signed-off-by: Casey Bodley (cherry picked from commit febbcc12c2cbe11d2261a4f6e5a6cac4b05c3ac8) --- s3tests_boto3/functional/test_s3.py | 1 + 1 file changed, 1 insertion(+) diff --git a/s3tests_boto3/functional/test_s3.py b/s3tests_boto3/functional/test_s3.py index e63e7d4..d325584 100644 --- a/s3tests_boto3/functional/test_s3.py +++ b/s3tests_boto3/functional/test_s3.py @@ -12646,6 +12646,7 @@ def test_sse_s3_default_multipart_upload(): assert response['Metadata'] == metadata assert response['ResponseMetadata']['HTTPHeaders']['content-type'] == content_type + assert response['ResponseMetadata']['HTTPHeaders']['x-amz-server-side-encryption'] == 'AES256' body = _get_body(response) assert body == data