mirror of
https://github.com/rclone/rclone.git
synced 2024-11-08 01:25:14 +01:00
b2: pass options to rest.Opts for Update
This commit is contained in:
parent
5cb7229a16
commit
38123c70eb
@ -1816,6 +1816,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
|
||||
Method: "POST",
|
||||
RootURL: upload.UploadURL,
|
||||
Body: in,
|
||||
Options: options,
|
||||
ExtraHeaders: map[string]string{
|
||||
"Authorization": upload.AuthorizationToken,
|
||||
"X-Bz-File-Name": urlEncode(o.fs.opt.Enc.FromStandardPath(bucketPath)),
|
||||
|
Loading…
Reference in New Issue
Block a user