remove "expires" header from presign v2 as metadata (#13718)

fixes #13704
This commit is contained in:
Harshavardhana 2021-11-22 16:07:23 -08:00 committed by GitHub
parent d0515031c7
commit 26c457860b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,6 +181,8 @@ func doesPresignV2SignatureMatch(r *http.Request) APIErrorCode {
return ErrSignatureDoesNotMatch return ErrSignatureDoesNotMatch
} }
r.Form.Del(xhttp.Expires)
return ErrNone return ErrNone
} }