modify test_sse_kms_method_head() for aws standard

Signed-off-by: hechuang <hechuang@xsky.com>
(cherry picked from commit 1ca6a94e6a)
This commit is contained in:
hechuang 2017-07-03 12:11:08 +08:00 committed by Casey Bodley
parent af18c59d22
commit d8fecfdc66

View file

@ -8341,6 +8341,9 @@ def test_sse_kms_method_head():
eq(res.getheader('x-amz-server-side-encryption'), 'aws:kms') eq(res.getheader('x-amz-server-side-encryption'), 'aws:kms')
eq(res.getheader('x-amz-server-side-encryption-aws-kms-key-id'), 'testkey-1') 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') @attr(resource='object')
@attr(method='put') @attr(method='put')