python 使用 requests,requests_toolbelt上传图片文件,报错:AttributeError: 'int' object has no attribute 'encode'
摘要:
#问题 在使用 python requests_toolbelt 库上传excel 文件的过程中,几类问题报错 1 MultipartEncoder 支持中文文件名称上传 开始遇到的报错以为是中文文件名称不支持,查到的解决方案是修改 requests 依赖的 urllib3 的源码问题,解决方案是修 阅读全文
posted @ 2022-11-23 16:14
黑色毛头鹰
阅读(501)
评论(0)
推荐(0)

浙公网安备 33010602011771号