File tree 2 files changed +7
-3
lines changed
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
+
1
5
### ` 2.0.7 `
2
6
- Add ` --name/-n ` to cli
3
7
- Add support for Jenkins Blue
Original file line number Diff line number Diff line change @@ -709,7 +709,8 @@ def main(*argv, **kwargs):
709
709
write (' Pinging Codecov...' )
710
710
res = requests .post ('%s/upload/v4?%s' % (codecov .url , urlargs ),
711
711
verify = codecov .cacert ,
712
- headers = {'Accept' : 'text/plain' })
712
+ headers = {'Accept' : 'text/plain' ,
713
+ 'X-Reduced-Redundancy' : 'false' })
713
714
if res .status_code in (400 , 406 ):
714
715
raise Exception (res .text )
715
716
@@ -721,8 +722,7 @@ def main(*argv, **kwargs):
721
722
write (' Uploading to S3...' )
722
723
s3 = requests .put (upload_url , data = reports ,
723
724
headers = {'Content-Type' : 'text/plain' ,
724
- 'x-amz-acl' : 'public-read' ,
725
- 'x-amz-storage-class' : 'REDUCED_REDUNDANCY' })
725
+ 'x-amz-acl' : 'public-read' })
726
726
s3 .raise_for_status ()
727
727
assert s3 .status_code == 200
728
728
write (' ' + result )
You can’t perform that action at this time.
0 commit comments