We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Existing content_type param is for type only, e.g. text/html or application/json. Charset utf-8 is added ultimately and text is encoded as utf-8.
content_type
text/html
application/json
utf-8
text
We need add charset param to constructor (urf-8 by default) and respect the param on text encoding.
charset
urf-8
Check for content_type should be added also to forbid ; (mark for charset) in the value.
;
The patch is trivial but should be proposed with tests.
Any volunteers for making Pull Request?
The text was updated successfully, but these errors were encountered:
See also aio-libs/aiohttp-debugtoolbar#28
Sorry, something went wrong.
I have some free time this week. I'll take a crack at it.
Add charset parameter to web.Response constructor. aio-libs#593
4dc43e8
Fixed. Thanks, @jashandeep-sohi
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
If you feel like there's important points made in this discussion, please include those exceprts into that new issue.
No branches or pull requests
Existing
content_type
param is for type only, e.g.text/html
orapplication/json
.Charset
utf-8
is added ultimately andtext
is encoded asutf-8
.We need add
charset
param to constructor (urf-8
by default) and respect the param on text encoding.Check for
content_type
should be added also to forbid;
(mark for charset) in the value.The patch is trivial but should be proposed with tests.
Any volunteers for making Pull Request?
The text was updated successfully, but these errors were encountered: