"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
lib/rest: Add Client.Do function to call http.Client.Do
Nick Craig-Wood48262849df1b
diff --git a/lib/rest/rest.go b/lib/rest/rest.goindex 61522577d..627f0585c 100644--- a/lib/rest/rest.go+++ b/lib/rest/rest.go@@ -211,6 +211,11 @@ func ClientWithNoRedirects(c *http.Client) *http.Client {return &clientCopy}+// Do calls the internal http.Client.Do method+func (api *Client) Do(req *http.Request) (*http.Response, error) {+ return api.c.Do(req)+}+// Call makes the call and returns the http.Response//// if err == nil then resp.Body will need to be closed unless