mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 18:34:41 +01:00
2ea15a72bc
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 |
||
---|---|---|
.. | ||
s3_test.go | ||
s3.go | ||
v2sign.go |