"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
webdav: pass options to rest.Opts for Put and Update
Tim Gallant90bd0eb44c6f
diff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.goindex 83fe1500f..3302df53a 100644--- a/backend/webdav/webdav.go+++ b/backend/webdav/webdav.go@@ -1135,6 +1135,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, opNoResponse: true,ContentLength: &size, // FIXME this isn't necessary with owncloud - See https://github.com/nextcloud/nextcloud-snap/issues/365ContentType: fs.MimeType(ctx, src),+ Options: options,}if o.fs.useOCMtime || o.fs.hasMD5 || o.fs.hasSHA1 {opts.ExtraHeaders = map[string]string{}