1
mirror of https://github.com/rclone/rclone synced 2024-12-02 11:53:45 +01:00
rclone/backend/zoho
Nick Craig-Wood 4f8dab8bce zoho: fix downloads with Range: header returning the wrong data
Zoho has started returning the results from Range: requests with a 200
response code rather than the technically correct 206 error code.

Before this change this triggered workaround code to deal with Zoho
not obeying Range: requests properly.

This fix tests the returned header for a Content-Range: header and if
it exists assumes it is a valid reply to the Range: request despite
the status being 200.

This problem was spotted by the integration tests.
2023-06-14 17:43:26 +01:00
..
api all: fix spelling across the project 2022-08-30 11:16:26 +02:00
zoho_test.go new backend: zoho workdrive - fixes #4533 2020-12-30 17:56:08 +00:00
zoho.go zoho: fix downloads with Range: header returning the wrong data 2023-06-14 17:43:26 +01:00