mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-18 20:57:49 +08:00
feat: simplify a bit (#3905)
This commit is contained in:
parent
25e012d30b
commit
874fd197b5
@ -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…
Reference in New Issue
Block a user