"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: fix case of "Bearer" in Authorization: header to agree with RFC
Nick Craig-Wood705e4694ede9
diff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.goindex aedd6f70a..4a21ea05f 100644--- a/backend/webdav/webdav.go+++ b/backend/webdav/webdav.go@@ -384,7 +384,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {// sets the BearerToken upfunc (f *Fs) setBearerToken(token string) {f.opt.BearerToken = token- f.srv.SetHeader("Authorization", "BEARER "+token)+ f.srv.SetHeader("Authorization", "Bearer "+token)}// fetch the bearer token using the command