File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4207,7 +4207,7 @@ group('upload Content-Type', function () {
42074207 // });
42084208 // });
42094209 // sliceUploadFile
4210- test ( 'sliceUploadFile string Content-Type null -> application/octet-stream ' , function ( done , assert ) {
4210+ test ( 'sliceUploadFile string Content-Type null -> text/plain ' , function ( done , assert ) {
42114211 cos . sliceUploadFile (
42124212 {
42134213 Bucket : config . Bucket ,
@@ -4223,7 +4223,7 @@ group('upload Content-Type', function () {
42234223 Key : '1.txt' ,
42244224 } ,
42254225 function ( err , data ) {
4226- assert . ok ( data . headers [ 'content-type' ] === 'application/octet-stream ' , 'Content-Type 正确' ) ;
4226+ assert . ok ( data . headers [ 'content-type' ] === 'text/plain ' , 'Content-Type 正确' ) ;
42274227 done ( ) ;
42284228 }
42294229 ) ;
You can’t perform that action at this time.
0 commit comments