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
@@ -110,6 +110,13 @@ func (e SHA256Mismatch) Error() string {
|
||||
return "sha256 computed does not match with what is expected"
|
||||
}
|
||||
|
||||
// SignatureDoesNotMatch - when content md5 does not match with what was sent from client.
|
||||
type SignatureDoesNotMatch struct{}
|
||||
|
||||
func (e SignatureDoesNotMatch) Error() string {
|
||||
return "The request signature we calculated does not match the signature you provided. Check your key and signing method."
|
||||
}
|
||||
|
||||
// StorageFull storage ran out of space.
|
||||
type StorageFull struct{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user