forked from TrueCloudLab/rclone
b2: pass options to rest.Opts for Update
This commit is contained in:
parent
5cb7229a16
commit
38123c70eb
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue