php7.4 上传临时素材无法成功
发布于 6 年前 作者 tanchao 3450 次浏览 来自 官方Issues

https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Adding_Permanent_Assets.html

php 7.4 curl提交文件时,

请求头以transferencoding:chunked的方式提交,

此方式不会提交Content-Length,

腾讯这边这个请求头似乎是必须的,所以校验不通过,响应码412,希望改进,支持transferencoding:chunked的方式提交文件。

回到顶部