You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(client): urlencode file name
#292
* refactor(client): move encoding filename to post method
* test(client): split client.post test into unit test and integration test
* test(windows): set PYTHONIOENCODING to utf-8
* fix(client): check name attribute before urlencoding filename
* test(client): create a fake picture file for related tests
* style(client): correct coding style
* fix(client): urlencode filenames for all files in "files" before upload
* refactor(client): refactor urlencode to reduce block nest and make it more pythonic
* style(client): fix client style problem
对 Bug 的描述
上传文件时如果文件名为中文会返回
41005: media data missing hint
。能正确上传不报错。
环境
复现代码或 repo 链接
复现步骤
运行以上代码,中文名会报错,英文名不会。
其他信息
requests
的相关 issue:psf/requests#3085
The text was updated successfully, but these errors were encountered: