diff --git a/s3tests/functional/test_s3.py b/s3tests/functional/test_s3.py index 444abe8..6188ae0 100644 --- a/s3tests/functional/test_s3.py +++ b/s3tests/functional/test_s3.py @@ -8340,6 +8340,9 @@ def test_sse_kms_method_head(): eq(res.status, 200) eq(res.getheader('x-amz-server-side-encryption'), 'aws:kms') eq(res.getheader('x-amz-server-side-encryption-aws-kms-key-id'), 'testkey-1') + + res = _make_request('HEAD', bucket, key, authenticated=True, request_headers=sse_kms_client_headers) + eq(res.status, 400) @attr(resource='object')