modify test_sse_kms_method_head() for aws standard

Signed-off-by: hechuang <hechuang@xsky.com>
This commit is contained in:
hechuang 2017-07-03 12:11:08 +08:00
parent b554973239
commit 1ca6a94e6a

View file

@ -8436,6 +8436,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-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(method='put')