summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.rst
diff options
context:
space:
mode:
authorRoss <rrhodes@users.noreply.github.com>2020-03-15 12:24:23 (GMT)
committerGitHub <noreply@github.com>2020-03-15 12:24:23 (GMT)
commit61ac612e78e4f2625977406fb6f366e0a644673a (patch)
tree83a14943941d3d3e1b9394045655c656947e523a /Doc/library/http.rst
parent90235810ec28ca954bbf4b61a5ae5df7a00db409 (diff)
downloadcpython-61ac612e78e4f2625977406fb6f366e0a644673a.zip
cpython-61ac612e78e4f2625977406fb6f366e0a644673a.tar.gz
cpython-61ac612e78e4f2625977406fb6f366e0a644673a.tar.bz2
bpo-39507: Add HTTP status 418 "I'm a Teapot" (GH-18291)
Diffstat (limited to 'Doc/library/http.rst')
-rw-r--r--Doc/library/http.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/http.rst b/Doc/library/http.rst
index f120ada2..14ee733 100644
--- a/Doc/library/http.rst
+++ b/Doc/library/http.rst
@@ -99,6 +99,7 @@ Code Enum Name Details
``415`` ``UNSUPPORTED_MEDIA_TYPE`` HTTP/1.1 :rfc:`7231`, Section 6.5.13
``416`` ``REQUESTED_RANGE_NOT_SATISFIABLE`` HTTP/1.1 Range Requests :rfc:`7233`, Section 4.4
``417`` ``EXPECTATION_FAILED`` HTTP/1.1 :rfc:`7231`, Section 6.5.14
+``418`` ``IM_A_TEAPOT`` HTCPCP/1.0 :rfc:`2324`, Section 2.3.2
``421`` ``MISDIRECTED_REQUEST`` HTTP/2 :rfc:`7540`, Section 9.1.2
``422`` ``UNPROCESSABLE_ENTITY`` WebDAV :rfc:`4918`, Section 11.2
``423`` ``LOCKED`` WebDAV :rfc:`4918`, Section 11.3
@@ -134,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.