This repository was archived by the owner on May 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1+ ### ` 2.0.9 `
2+ - fix uploading when reports contain characters outside of latin-1
3+ - remove reduced_redundancy header from
4+
15### ` 2.0.7 `
26- Add ` --name/-n ` to cli
37- Add support for Jenkins Blue
Original file line number Diff line number Diff line change @@ -709,7 +709,8 @@ def main(*argv, **kwargs):
709709 write (' Pinging Codecov...' )
710710 res = requests .post ('%s/upload/v4?%s' % (codecov .url , urlargs ),
711711 verify = codecov .cacert ,
712- headers = {'Accept' : 'text/plain' })
712+ headers = {'Accept' : 'text/plain' ,
713+ 'X-Reduced-Redundancy' : 'false' })
713714 if res .status_code in (400 , 406 ):
714715 raise Exception (res .text )
715716
@@ -721,8 +722,7 @@ def main(*argv, **kwargs):
721722 write (' Uploading to S3...' )
722723 s3 = requests .put (upload_url , data = reports ,
723724 headers = {'Content-Type' : 'text/plain' ,
724- 'x-amz-acl' : 'public-read' ,
725- 'x-amz-storage-class' : 'REDUCED_REDUNDANCY' })
725+ 'x-amz-acl' : 'public-read' })
726726 s3 .raise_for_status ()
727727 assert s3 .status_code == 200
728728 write (' ' + result )
You can’t perform that action at this time.
0 commit comments