mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 18:04:55 +01:00
googlephotos: pass options to rest.Opts for Put and Update
This commit is contained in:
parent
776966e22c
commit
9ea1361044
@ -956,6 +956,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
|
||||
opts := rest.Opts{
|
||||
Method: "POST",
|
||||
Path: "/uploads",
|
||||
Options: options,
|
||||
ExtraHeaders: map[string]string{
|
||||
"X-Goog-Upload-File-Name": fileName,
|
||||
"X-Goog-Upload-Protocol": "raw",
|
||||
|
Loading…
Reference in New Issue
Block a user