mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
Verify md5 content hash, closes #4285
This commit is contained in:
committed by
Harshavardhana
parent
bd67117756
commit
5c78415b31
@@ -706,6 +706,8 @@ func toAPIErrorCode(err error) (apiErr APIErrorCode) {
|
||||
apiErr = ErrNoSuchUpload
|
||||
case PartTooSmall:
|
||||
apiErr = ErrEntityTooSmall
|
||||
case SignatureDoesNotMatch:
|
||||
apiErr = ErrSignatureDoesNotMatch
|
||||
case SHA256Mismatch:
|
||||
apiErr = ErrContentSHA256Mismatch
|
||||
case ObjectTooLarge:
|
||||
|
||||
Reference in New Issue
Block a user