mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-22 09:29:43 +00:00
modify test_sse_kms_method_head() for aws standard
Signed-off-by: hechuang <hechuang@xsky.com>
This commit is contained in:
parent
b554973239
commit
1ca6a94e6a
1 changed files with 3 additions and 0 deletions
|
@ -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')
|
||||||
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')
|
||||||
|
|
Loading…
Reference in a new issue