Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Implemented
-
None
Description
Description: The count of parts this object has. This value is only returned if you specify partNumber in your request and the object was uploaded as a multipart upload.
Reference:
https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html
https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
Possible implementation: Since ETag of MPU key suffix is the number of the parts in the MPU, we can use that instead. If the ETag does not contain the number of MPU part (e.g. legacy MPU key), don't return the response header.
Should be tested using unit tests and acceptance tests.
Attachments
Issue Links
- links to