8000 bpo-39507: add HTTP status 418 "I'm a Teapot" by rrhodes · Pull Request #18291 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-39507: add HTTP status 418 "I'm a Teapot" #18291

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

Merged
merged 7 commits into from
Mar 15, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
8000 Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into fix-issue-39507
  • Loading branch information
rrhodes authored Mar 15, 2020
commit 507a76945fc016910900301badc4cdcb04be0047
2 changes: 2 additions & 0 deletions Lib/http/__init__.py
689C
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class HTTPStatus(IntEnum):
* RFC 7725: An HTTP Status Code to Report Legal Obstacles
* RFC 7540: Hypertext Transfer Protocol Version 2 (HTTP/2)
* RFC 2324: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
* RFC 8297: An HTTP Status Code for Indicating Hints
* RFC 8470: Using Early Data in HTTP
"""
def __new__(cls, value, phrase, description=''):
obj = int.__new__(cls, value)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0