1
mirror of https://github.com/rclone/rclone synced 2024-10-31 20:16:42 +01:00
rclone/backend
Nick Craig-Wood 2ea15a72bc s3: fix --header-upload - Fixes #4303
Before this change we were setting the headers on the PUT
request for normal and multipart uploads. For normal uploads this caused the error

    403 Forbidden: There were headers present in the request which were not signed

After this fix we set the headers in the object upload request itself
as the s3 SDK expects.

This means that we only support a limited range of headers

- Cache-Control
- Content-Disposition
- Content-Encoding
- Content-Language
- Content-Type
- X-Amz-Tagging
- X-Amz-Meta-

Note for the last of those are for setting custom metadata in the form
"X-Amz-Meta-Key: value".

This now works for multipart uploads and single part uploads

See also #59
2020-06-10 12:28:48 +01:00
..
alias build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
all Tardigrade Backend 2020-05-12 15:56:50 +00:00
amazonclouddrive oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +01:00
azureblob doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
b2 link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
box link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
cache doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
chunker chunker: reduce length of temporary suffix 2019-12-09 16:56:32 +00:00
crypt link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
drive link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
dropbox link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
fichier doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
ftp doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
googlecloudstorage backends: make sure backends expand ~ and environment vars in file names they use 2020-06-03 17:39:08 +01:00
googlephotos oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +01:00
http fstest: create AssertTimeEqualWithPrecision from CheckTimeEqualWithPrecision 2020-04-22 11:33:00 +01:00
hubic oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +01:00
jottacloud link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
koofr link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
local doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
mailru link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
mega link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
memory The memory backend 2020-01-18 10:41:08 +00:00
onedrive link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
opendrive doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
pcloud pcloud: fix initial config "Auth state doesn't match" message #4210 2020-05-26 11:27:01 +01:00
premiumizeme link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
putio putio: fix panic on Object.Open #4315 2020-06-10 12:16:09 +01:00
qingstor doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
s3 s3: fix --header-upload - Fixes #4303 2020-06-10 12:28:48 +01:00
seafile link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
sftp backends: make sure backends expand ~ and environment vars in file names they use 2020-06-03 17:39:08 +01:00
sharefile oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +01:00
sugarsync link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
swift doc: use consistent capitalization 2020-05-20 15:54:51 +01:00
tardigrade backend/tardigrade: Set UserAgent to rclone 2020-06-09 14:20:28 +01:00
union doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
webdav doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
yandex link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00