接口自动化--处理requests请求的响应编码乱码问题

reps=requests.post(url,data=XXX)
resp.encoding='unicode_escape'

 

posted @ 2020-07-12 18:22  胡七七  阅读(465)  评论(0编辑  收藏  举报