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
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
document what's new and author patch
  • Loading branch information
rrhodes committed Mar 15, 2020
commit 9fb320b33f94d0406572cd372c7d6ba0eb1c18b9
2 changes: 1 addition & 1 deletion Doc/library/http.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ equal to the constant name (i.e. ``http.HTTPStatus.OK`` is also available as
Added ``451 UNAVAILABLE_FOR_LEGAL_REASONS`` status code.

.. versionadded:: 3.9
Added ``103 EARLY_HINTS`` and ``425 TOO_EARLY`` status codes.
Added ``103 EARLY_HINTS``, ``418 IM_A_TEAPOT`` and ``425 TOO_EARLY`` status codes.
4 changes: 2 additions & 2 deletions Doc/whatsnew/3.9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ finalized by the garbage collector. (Contributed by Pablo Galindo in
http
----

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

imaplib
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Adding HTTP status 418 "I'm a Teapot" to HTTPStatus in http library.
Adding HTTP status 418 "I'm a Teapot" to HTTPStatus in http library. Patch by Ross Rhodes.
0