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.go | ||
rest_header_reset.go | ||
rest_header_reset_go17.go | ||
url.go | ||
url_test.go |