Browse Source

feat: simplify a bit (#3905)

pull/3907/head
famosss 2 years ago
committed by GitHub
parent
commit
874fd197b5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      weed/s3api/s3api_object_handlers.go

1
weed/s3api/s3api_object_handlers.go

@ -420,7 +420,6 @@ func setUserMetadataKeyToLowercase(resp *http.Response) {
if strings.HasPrefix(key, s3_constants.AmzUserMetaPrefix) { if strings.HasPrefix(key, s3_constants.AmzUserMetaPrefix) {
resp.Header[strings.ToLower(key)] = value resp.Header[strings.ToLower(key)] = value
delete(resp.Header,key) delete(resp.Header,key)
continue
} }
} }
} }

Loading…
Cancel
Save