Skip to content
New issue

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

Fix examples in documentation: remove obsolete direct content-type specification for JSON #2598

Closed
socketpair opened this issue Dec 10, 2017 · 4 comments
Labels

Comments

@socketpair
Copy link
Contributor

socketpair commented Dec 10, 2017

https://docs.aiohttp.org/en/stable/web.html#example

instead of specifying content-type in example, one should use web.json_response(...).

@asvetlov
Copy link
Member

Would you provide a Pull Request?

@socketpair
Copy link
Contributor Author

Yes, sure

@asvetlov
Copy link
Member

Fixed

@lock
Copy link

lock bot commented Oct 28, 2019

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].
[new issue]: https://github.com/aio-libs/aiohttp/issues/new

@lock lock bot added the outdated label Oct 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants