Skip to content

Missing charset in Content-Type #7187

Answered by Dreamsorcerer
pbryan asked this question in Q&A
Discussion options

You must be logged in to vote

Well, the documentation clearly shows an encoding parameter:
https://docs.aiohttp.org/en/stable/client_reference.html#aiohttp.ClientResponse.text

I assume that's all you need as a workaround.

Whether we should change the default to utf-8 or not, I'm not sure (it does sound reasonable to me).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pbryan
Comment options

Answer selected by pbryan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants