rclone/backend
Nick Craig-Wood 1378bfee63 box: fix transfers getting stuck on token expiry after API change
Box recently changed their API, changing the case of returned API items

> On May 10th, 2021, as part of our continued infrastructure upgrade,
> Box's API response headers will standardize to return in a case
> insensitive manner, in line with industry best practices and our API
> documentation. Applications that are using these headers, such as
> "location" and "retry-after", will need to verify that their
> applications are checking for these headers in a case-insensitive
> fashion.

Rclone was reading the raw headers from the `http.Header` and not
using the `Get` accessor method which meant that it was sensitive to
case changes.

This fixes the problem by using the `Get` accessor method.

See: https://forum.rclone.org/t/box-backend-incompatible-with-box-api-changes-being-deployed/22972
2021-03-24 09:45:17 +00:00
..
alias config: make config file system pluggable 2021-03-11 17:29:26 +00:00
all HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
amazonclouddrive Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
azureblob azureblob: add container public access level support. Fixes #5045 2021-03-15 17:18:47 +00:00
b2 Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
box box: fix transfers getting stuck on token expiry after API change 2021-03-24 09:45:17 +00:00
cache config: make config file system pluggable 2021-03-11 17:29:26 +00:00
chunker chunker: refactor to use fspath.SplitFs instead of fspath.Parse #4996 2021-03-15 19:22:07 +00:00
compress compress: check type assertion in SetTier - fixes #4941 2021-01-20 22:59:14 +00:00
crypt crypt: log hash ok on upload 2021-03-23 18:36:51 +01:00
drive drive: remove duplicated Context(ctx) calls 2021-03-17 16:46:58 +00:00
dropbox dropbox: raise priority of rate limited message to INFO to make it more noticeable 2021-03-22 09:04:25 +00:00
fichier Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
filefabric Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
ftp ftp: retry connections and logins on 421 errors #3984 2021-03-16 16:17:22 +00:00
googlecloudstorage Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
googlephotos Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
hdfs hdfs: fix permissions for when directory is created 2021-03-12 09:15:14 +00:00
http config: make config file system pluggable 2021-03-11 17:29:26 +00:00
hubic swift: update github.com/ncw/swift to v2.0.0 2021-02-03 20:23:37 +00:00
jottacloud Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
koofr fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
local local: don't ignore preallocate disk full errors 2021-03-15 19:22:07 +00:00
mailru backends: Add context checking to remaining backends #4504 2021-03-16 16:17:22 +00:00
mega backends: Add context checking to remaining backends #4504 2021-03-16 16:17:22 +00:00
memory azureblob,memory,pcloud: fix setting of mime types 2020-11-27 14:40:05 +00:00
onedrive backends: Add context checking to remaining backends #4504 2021-03-16 16:17:22 +00:00
opendrive Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
pcloud Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
premiumizeme Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
putio Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
qingstor qingstor: fix rclone cleanup 2021-01-21 17:35:31 +00:00
s3 s3: fix --s3-profile which wasn't working - fixes #4757 2021-03-16 16:25:07 +00:00
seafile config: make config file reads reload the config file if needed #4996 2021-03-14 16:03:35 +00:00
sftp sftp: fix SetModTime stat failed: object not found with --sftp-set-modtime=false 2021-03-18 16:31:51 +00:00
sharefile Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
sugarsync Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
swift swift: implement copying large objects 2021-03-24 08:56:39 +00:00
tardigrade build: remove go1.13 build constraints 2021-02-03 17:46:08 +00:00
union union: refactor to use fspath.SplitFs instead of fs.ParseRemote #4996 2021-03-15 19:22:07 +00:00
webdav Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
yandex Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
zoho zoho: add forgotten setupRegion() to NewFs 2021-03-21 02:15:22 +01:00