Fix response XML structure
This commit is contained in:
parent
5ac9bb1885
commit
16db824d8a
@ -1868,18 +1868,16 @@ S3_DELETE_KEYS_RESPONSE = """<?xml version="1.0" encoding="UTF-8"?>
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</DeleteResult>"""
|
</DeleteResult>"""
|
||||||
|
|
||||||
S3_DELETE_OBJECT_SUCCESS = """<DeleteObjectResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01">
|
S3_DELETE_OBJECT_SUCCESS = """<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<DeleteObjectResponse>
|
<DeleteObjectResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01">
|
||||||
<Code>200</Code>
|
<Code>200</Code>
|
||||||
<Description>OK</Description>
|
<Description>OK</Description>
|
||||||
</DeleteObjectResponse>
|
|
||||||
</DeleteObjectResponse>"""
|
</DeleteObjectResponse>"""
|
||||||
|
|
||||||
S3_OBJECT_RESPONSE = """<PutObjectResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01">
|
S3_OBJECT_RESPONSE = """<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<PutObjectResponse>
|
<PutObjectResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01">
|
||||||
<ETag>{{ key.etag }}</ETag>
|
<ETag>{{ key.etag }}</ETag>
|
||||||
<LastModified>{{ key.last_modified_ISO8601 }}</LastModified>
|
<LastModified>{{ key.last_modified_ISO8601 }}</LastModified>
|
||||||
</PutObjectResponse>
|
|
||||||
</PutObjectResponse>"""
|
</PutObjectResponse>"""
|
||||||
|
|
||||||
S3_OBJECT_ACL_RESPONSE = """<?xml version="1.0" encoding="UTF-8"?>
|
S3_OBJECT_ACL_RESPONSE = """<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
Loading…
Reference in New Issue
Block a user