mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 01:32:24 -05:00
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.67 to 7.0.69 (#2748)
This commit is contained in:
parent
5a56f4f8fb
commit
8e88ee8d9c
28 changed files with 487 additions and 370 deletions
15
vendor/github.com/minio/minio-go/v7/utils.go
generated
vendored
15
vendor/github.com/minio/minio-go/v7/utils.go
generated
vendored
|
|
@ -512,6 +512,21 @@ func isAmzHeader(headerKey string) bool {
|
|||
return strings.HasPrefix(key, "x-amz-meta-") || strings.HasPrefix(key, "x-amz-grant-") || key == "x-amz-acl" || isSSEHeader(headerKey) || strings.HasPrefix(key, "x-amz-checksum-")
|
||||
}
|
||||
|
||||
var supportedReplicationEncryptionHeaders = map[string]bool{
|
||||
"x-minio-replication-server-side-encryption-sealed-key": true,
|
||||
"x-minio-replication-server-side-encryption-seal-algorithm": true,
|
||||
"x-minio-replication-server-side-encryption-iv": true,
|
||||
"x-minio-replication-encrypted-multipart": true,
|
||||
"x-minio-replication-actual-object-size": true,
|
||||
// Add more supported headers here.
|
||||
// Must be lower case.
|
||||
}
|
||||
|
||||
// isValidReplicationEncryptionHeader returns true if header is one of valid replication encryption headers
|
||||
func isValidReplicationEncryptionHeader(headerKey string) bool {
|
||||
return supportedReplicationEncryptionHeaders[strings.ToLower(headerKey)]
|
||||
}
|
||||
|
||||
// supportedQueryValues is a list of query strings that can be passed in when using GetObject.
|
||||
var supportedQueryValues = map[string]bool{
|
||||
"attributes": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue