1
mirror of https://github.com/rclone/rclone synced 2024-11-18 18:46:07 +01:00
rclone/backend/onedrive
Nick Craig-Wood 5f0a8a4e28 rest: fix upload of 0 length files
Before this change if ContentLength was set in the options but 0 then
we would upload using chunked encoding.  Fix this to always upload
with a "Content-Length" header even if the size is 0.

Remove workarounds for this from b2 and onedrive backends.

This fixes the issue for the webdav backend described here:

https://forum.rclone.org/t/code-500-errors-with-webdav-nextcloud/8440/
2019-01-24 11:38:00 +00:00
..
api onedrive: fix broken support for "shared with me" folders - fixes #2536, #2778 (#2876) 2019-01-09 13:11:00 +08:00
quickxorhash all: fix go-critic linter suggestions 2018-08-06 21:14:03 +01:00
onedrive_test.go backend: add fstests.ChunkedUploadConfig 2018-10-11 14:47:58 +01:00
onedrive.go rest: fix upload of 0 length files 2019-01-24 11:38:00 +00:00
replace_test.go Move all backends into backend directory 2018-01-12 17:07:38 +00:00
replace.go Move all backends into backend directory 2018-01-12 17:07:38 +00:00