rclone/backend
Nick Craig-Wood a5cf531b94 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:29:23 +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 b2: force the case of the SHA1 to lowercase - fixes #4162 2020-04-29 17:08:21 +01:00
box oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +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 doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
drive drive: fix missing items when listing using --fast-list / ListR 2020-05-31 11:45:24 +01:00
dropbox oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +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 oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +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 doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
koofr doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
local doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
mailru doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
mega doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
memory The memory backend 2020-01-18 10:41:08 +00:00
onedrive oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +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 oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +01:00
putio putio: fix panic on Object.Open #4315 2020-06-10 12:22:07 +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:29:23 +01:00
seafile doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
sftp doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
sharefile oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +01:00
sugarsync doc: fix typos throughout docs and code 2020-05-25 11:23:58 +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 20:17:06 +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 oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +01:00