Fix response XML structure

This commit is contained in:
David Holroyd 2020-04-06 00:19:19 +01:00
parent 5ac9bb1885
commit 16db824d8a

View File

@ -1868,18 +1868,16 @@ S3_DELETE_KEYS_RESPONSE = """<?xml version="1.0" encoding="UTF-8"?>
{% endfor %}
</DeleteResult>"""
S3_DELETE_OBJECT_SUCCESS = """<DeleteObjectResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01">
<DeleteObjectResponse>
S3_DELETE_OBJECT_SUCCESS = """<?xml version="1.0" encoding="UTF-8"?>
<DeleteObjectResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01">
<Code>200</Code>
<Description>OK</Description>
</DeleteObjectResponse>
</DeleteObjectResponse>"""
S3_OBJECT_RESPONSE = """<PutObjectResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01">
<PutObjectResponse>
S3_OBJECT_RESPONSE = """<?xml version="1.0" encoding="UTF-8"?>
<PutObjectResponse xmlns="http://s3.amazonaws.com/doc/2006-03-01">
<ETag>{{ key.etag }}</ETag>
<LastModified>{{ key.last_modified_ISO8601 }}</LastModified>
</PutObjectResponse>
</PutObjectResponse>"""
S3_OBJECT_ACL_RESPONSE = """<?xml version="1.0" encoding="UTF-8"?>