"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
swift: add support for --header-upload and --header-download #59
Nick Craig-Wood8e9c25063aaa
diff --git a/backend/swift/swift.go b/backend/swift/swift.goindex ff34ea6f2..e7f0f2417 100644--- a/backend/swift/swift.go+++ b/backend/swift/swift.go@@ -1285,6 +1285,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, opm.SetModTime(modTime)contentType := fs.MimeType(ctx, src)headers := m.ObjectHeaders()+ fs.OpenOptionAddHeaders(options, headers)uniquePrefix := ""if size > int64(o.fs.opt.ChunkSize) || (size == -1 && !o.fs.opt.NoChunk) {uniquePrefix, err = o.updateChunks(in, headers, size, contentType)