don't forget to send the etag in the headers when uploading a part
This commit is contained in:
parent
9746e72e1d
commit
04789a59fa
1 changed files with 1 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ def _key_response(request, full_url, headers):
|
|||
part_number = int(query['partNumber'][0])
|
||||
key = s3_backend.set_part(bucket_name, upload_id, part_number, body)
|
||||
template = Template(S3_MULTIPART_UPLOAD_RESPONSE)
|
||||
headers.update(key.response_dict)
|
||||
return 200, headers, template.render(part=key)
|
||||
|
||||
if 'x-amz-copy-source' in request.headers:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue