Improve handling of checksum for multipart objects
Bug #1697741 reported by
Charles Farquhar
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Swift3 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Some S3 client libraries (i.e. JetS3t) send an Etag/Content-Md5 header when initiating a multi-part object upload. The S3 API reference [1] does not mention sending this header, but the S3 API appears to ignore it. However, the swift3 implementation evaluates the client-provided header and compares it to the empty body of the multi-part object initiation request. This results in the upload failing.
It would be better for the swift3 middleware to behave the same way as S3 when receiving the Etag/Content-Md5 header during multi-part upload initiation.
[1] http://
To post a comment you must log in.
I must have missed something when submitting the patch as the review wasn't linked here. A proposed solution can be found at https:/ /review. openstack. org/#/c/ 473939/ .