fix: Send x-amz-mp-parts-count for multiparted objects (#9116)

Some AWS SDKs latently rely on this value some times
to calculate the right number of parts during a parallel
GetObject request, this is feature used along with
content-range - we should support this as well.
This commit is contained in:
Harshavardhana
2020-03-12 12:37:27 -07:00
committed by GitHub
parent ed4bd20a7c
commit a54cdb9587
2 changed files with 8 additions and 0 deletions

View File

@@ -77,6 +77,9 @@ const (
AmzObjectLockLegalHold = "X-Amz-Object-Lock-Legal-Hold"
AmzObjectLockBypassGovernance = "X-Amz-Bypass-Governance-Retention"
// Multipart parts count
AmzMpPartsCount = "x-amz-mp-parts-count"
// Dummy putBucketACL
AmzACL = "x-amz-acl"