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
Is your feature request related to a problem? Please describe.
如果服务器没有返回 Content-Type HTTP header 且 response.contnet 确实不是 utf-8 编码的情况下会出现 response.text 内容错误
Describe the solution you'd like
尝试从 response.contnet 获取编码
Is your feature request related to a problem? Please describe.
如果服务器没有返回
Content-Type
HTTP header 且response.contnet
确实不是utf-8
编码的情况下会出现response.text
内容错误Describe the solution you'd like
尝试从
response.contnet
获取编码Describe alternatives you've considered
例如
w3lib
的实现:https://w3lib.readthedocs.io/en/latest/w3lib.html#w3lib.encoding.html_to_unicodeAdditional context
无
The text was updated successfully, but these errors were encountered: