"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
googlephotos: pass options to rest.Opts for Put and Update
Tim Gallant9ea136104489
diff --git a/backend/googlephotos/googlephotos.go b/backend/googlephotos/googlephotos.goindex 292bb0974..e8bc2b371 100644--- a/backend/googlephotos/googlephotos.go+++ b/backend/googlephotos/googlephotos.go@@ -954,8 +954,9 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op// Upload the media item in exchange for an UploadTokenopts := rest.Opts{- Method: "POST",- Path: "/uploads",+ Method: "POST",+ Path: "/uploads",+ Options: options,ExtraHeaders: map[string]string{"X-Goog-Upload-File-Name": fileName,"X-Goog-Upload-Protocol": "raw",