mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01:00
gcs: add support for --header-upload and --header-download #59
This commit is contained in:
parent
8e9c25063a
commit
b502a74cff
@ -1069,6 +1069,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
|
||||
if !o.fs.opt.BucketPolicyOnly {
|
||||
insertObject.PredefinedAcl(o.fs.opt.ObjectACL)
|
||||
}
|
||||
fs.OpenOptionAddHTTPHeaders(insertObject.Header(), options)
|
||||
newObject, err = insertObject.Context(ctx).Do()
|
||||
return shouldRetry(err)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user