Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 0d7b9b0

Browse files
authored
Remove 'x-amz-acl': 'public-read' header (#178)
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
1 parent eeff4e1 commit 0d7b9b0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/codecov.js

-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ var sendToCodecovV3 = function(
211211
body: upload_body,
212212
headers: {
213213
'Content-Type': 'text/plain',
214-
'x-amz-acl': 'public-read',
215214
},
216215
},
217216
function(err) {

0 commit comments

Comments
 (0)