fix(cos): anonymous GET req not support response header

pull/3202/head
Darren Yu 2 weeks ago
parent 353091bde2
commit d70e068378
No known key found for this signature in database
GPG Key ID: 2D69AA5646405984

@ -416,6 +416,11 @@ func (handler Driver) signSourceURL(ctx context.Context, path string, expire *ti
file.Path = path
// 公有空间不支持设置响应header
if !handler.policy.IsPrivate {
options.ContentDescription = ""
}
optionQuery, err := query.Values(*options)
if err != nil {
return "", err

Loading…
Cancel
Save