Skip to content

Status codes by name? #5790

Answered by webknjaz
AustinScola asked this question in Q&A
Jun 11, 2021 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

I don't think it is necessary to reimplement this in aiohttp. One could easily just use the constants provided by stdlib: https://docs.python.org/3/library/http.html#http-status-codes.

Replies: 2 comments 3 replies

Comment options

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

Answer selected by webknjaz
Comment options

You must be logged in to vote
2 replies
@AustinScola
Comment options

@Dreamsorcerer
Comment options

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