-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
questionFurther information is requestedFurther information is requested
Description
问题分类
uni-app
问题描述
uni.uploadFile预签名分片上传阿里云oss时会报签名不一致,经过我仔细核对发现uni.uploadFile每次上传会在请求载荷里加一段header,感觉这个就是导致上传签名验证失败的关键所在,(尝试了很多方法都去不掉,本来想用手动分片的,但是无赖客户端千奇百怪可能资源没那么强悍容易玩崩)希望能帮忙看一下如何从载荷中去掉这些头信息
------geckoformboundaryecfd61ef83a75a3c7cd00b0421eb8269
Content-Disposition: form-data; name="file"; filename="911Mothers_2010W-light.mp4"
Content-Type: video/mp4
xxxxx

附加信息
同一个文件上传下面这个是我用(后台)axios请求的它就没有这个头信息在请求实体里,并且能签名通过上传完成

Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested