Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS下totalBytesSent和totalBytesExpectedToSend的值有误 #65

Open
midorigb opened this issue May 31, 2019 · 1 comment
Open

iOS下totalBytesSent和totalBytesExpectedToSend的值有误 #65

midorigb opened this issue May 31, 2019 · 1 comment

Comments

@midorigb
Copy link

通过Qiniu-wxapp-SDK,用微信小程序上传文件。

接口返回上传成功,totalBytesSent和totalBytesExpectedToSend的值是83275,服务端通过stat接口查到的值是82745,将文件从七牛上下载下来,所得文件大小也是82745,并且下载下来文件的MD5与源文件一致。

用不同文件多次尝试,都可以复现该问题。
麻烦帮忙定位,多谢多谢!

@gpake
Copy link
Owner

gpake commented May 31, 2019

因吹斯听,我估计要看看微信文档有没有提到这个了。
我猜他是包含了其他上传图片需要的数据(HTTP 头之类的),因为请求无法只包含图片数据。
如果方便抓包的话,也可以看看多出来了什么。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants