1
mirror of https://github.com/rclone/rclone synced 2024-12-28 21:03:45 +01:00
rclone/backend/webdav
Nick Craig-Wood 65eee674b9 webdav: fix Open Range requests to fix 4shared mount
Before this change the webdav backend didn't truncate Range requests
to the size of the object. Most webdav providers are OK with this (it
is RFC compliant), but it causes 4shared to return 500 internal error.

Because Range requests are used in mounting, this meant that mounting
didn't work for 4shared.

This change truncates the Range request to the size of the object.

See: https://forum.rclone.org/t/cant-copy-use-files-on-webdav-mount-4shared-that-have-foreign-characters/21334/
2020-12-28 15:45:40 +00:00
..
api webdav: Fix free/used display for rclone about/df for certain backends - fixes #4348 2020-06-20 15:15:15 +01:00
odrvcookie fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
webdav_test.go Spelling fixes 2020-10-14 15:21:31 +01:00
webdav.go webdav: fix Open Range requests to fix 4shared mount 2020-12-28 15:45:40 +00:00