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