Update dependencies
This commit is contained in:
parent
0922367308
commit
96f7be5d9b
185 changed files with 20976 additions and 2150 deletions
3
vendor/github.com/minio/minio-go/utils.go
generated
vendored
3
vendor/github.com/minio/minio-go/utils.go
generated
vendored
|
@ -223,6 +223,7 @@ var supportedHeaders = []string{
|
|||
"content-disposition",
|
||||
"content-language",
|
||||
"x-amz-website-redirect-location",
|
||||
"expires",
|
||||
// Add more supported headers here.
|
||||
}
|
||||
|
||||
|
@ -267,5 +268,5 @@ func isSSEHeader(headerKey string) bool {
|
|||
func isAmzHeader(headerKey string) bool {
|
||||
key := strings.ToLower(headerKey)
|
||||
|
||||
return strings.HasPrefix(key, "x-amz-meta-") || key == "x-amz-acl"
|
||||
return strings.HasPrefix(key, "x-amz-meta-") || strings.HasPrefix(key, "x-amz-grant-") || key == "x-amz-acl" || isSSEHeader(headerKey)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue