Skip to content

Add "Early Hints" and "Too Early" to Status Codes#1244

Merged
lovelydinosaur merged 1 commit intoencode:masterfrom
StephenBrown2:py39-status-codes
Sep 2, 2020
Merged

Add "Early Hints" and "Too Early" to Status Codes#1244
lovelydinosaur merged 1 commit intoencode:masterfrom
StephenBrown2:py39-status-codes

Conversation

@StephenBrown2
Copy link
Contributor

To align with Python 3.9: https://docs.python.org/3.9/whatsnew/3.9.html#http

HTTP status codes 103 EARLY_HINTS, 418 IM_A_TEAPOT and 425 TOO_EARLY are added to http.HTTPStatus. (Contributed by Dong-hee Na in bpo-39509 and Ross Rhodes in bpo-39507.)

Source: https://github.com/python/cpython/blob/da52be47690da0d9f78d0dce9ee5c3e4dbef49e1/Lib/http/__init__.py

Copy link
Contributor

@florimondmanca florimondmanca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Seems like an obvious yes for me, but happy to have someone else from @encode/maintainers look at this!

@florimondmanca florimondmanca requested a review from a team September 1, 2020 20:46
To align with Python 3.9: https://docs.python.org/3.9/whatsnew/3.9.html#http

> HTTP status codes 103 EARLY_HINTS, 418 IM_A_TEAPOT and 425 TOO_EARLY are added to http.HTTPStatus. (Contributed by Dong-hee Na in bpo-39509 and Ross Rhodes in bpo-39507.)

https://github.com/python/cpython/blob/da52be47690da0d9f78d0dce9ee5c3e4dbef49e1/Lib/http/__init__.py
@StephenBrown2
Copy link
Contributor Author

Apparently I was given an invitation to join the Encode org on Jul 30, but missed it, and the invitation has expired. @tomchristie if you wouldn't mind sending it again, I'll be more ready this time.

@lovelydinosaur
Copy link
Contributor

@StephenBrown2 Done! 😃

@lovelydinosaur lovelydinosaur merged commit 46b9282 into encode:master Sep 2, 2020
@lovelydinosaur lovelydinosaur mentioned this pull request Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants