mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 18:59:41 +08:00
5f0a8a4e28
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/ |
||
---|---|---|
.. | ||
rest_header_reset_go17.go | ||
rest_header_reset.go | ||
rest.go | ||
url_test.go | ||
url.go |