Skip to content
This repository was archived by the owner on Dec 1, 2018. It is now read-only.

return resp.content instead of resp.text for logs#154

Open
de1o wants to merge 1 commit intokelproject:masterfrom
de1o:fix-log-encoding
Open

return resp.content instead of resp.text for logs#154
de1o wants to merge 1 commit intokelproject:masterfrom
de1o:fix-log-encoding

Conversation

@de1o
Copy link

@de1o de1o commented Mar 14, 2018

requests will treat content encoding as ISO-8859-1 when encoding is not
present in response header, which cause resp.text messed up.

requests will treat content encoding as ISO-8859-1 when encoding is not
present in response header, which cause resp.text messed up.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant