David Hewitt 290d78cea4
Allow unsetting x-amz-acl S3 Permission headers (#20510)
Some "S3 Compatible" storage providers (Cloudflare R2 is one such example) don't support setting ACLs on individual uploads with the `x-amz-acl` header, and instead just have a visibility for the whole bucket. To support uploads to such providers without getting unsupported errors back, lets use a black `S3_PERMISSION` env var to indicate that these headers shouldn't be sent.

This is tested as working with Cloudflare R2.
2022-11-13 06:57:10 +01:00
..
2018-01-16 03:29:11 +01:00
2016-08-17 17:58:00 +02:00
2018-10-09 03:02:52 +02:00
2017-12-06 15:04:49 +09:00
2016-12-06 17:19:26 +01:00
2017-01-22 23:07:31 +01:00
2022-03-26 02:53:34 +01:00
2018-10-04 12:36:53 +02:00
2016-08-17 17:58:00 +02:00