mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 20:14:24 +08:00
4f8dab8bce
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. |
||
---|---|---|
.. | ||
api | ||
zoho_test.go | ||
zoho.go |