From 16fe8039af103569e5a96dd6eced04fc07188bda Mon Sep 17 00:00:00 2001 From: Eli Hooten Date: Mon, 18 May 2020 06:34:27 -0500 Subject: [PATCH] Remove `'x-amz-acl': 'public-read'` header Codecov recently did some fundamental storage changes on its backend in an effort to greatly improve the reliability of our underlying storage systems. As a result the `X-Amz-Acl: public-read` header is no longer needed, and may result in 400 errors if used. You can see a similar fix in codecov-python that removes that header here: https://github.com/codecov/codecov-python/pull/253/files --- lib/codecov.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/codecov.js b/lib/codecov.js index ad0cb2a2..2a8cc448 100644 --- a/lib/codecov.js +++ b/lib/codecov.js @@ -211,7 +211,6 @@ var sendToCodecovV3 = function( body: upload_body, headers: { 'Content-Type': 'text/plain', - 'x-amz-acl': 'public-read', }, }, function(err) {