Skip to content

Commit a04d06d

Browse files
authored
gh-135615 List 418 as an exception
1 parent 62383ff commit a04d06d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Doc/library/http.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ The :mod:`http` module also defines the following enums that help you work with
5252
HTTP status codes
5353
-----------------
5454

55-
Supported HTTP status codes
56-
available in :class:`http.HTTPStatus` are:
55+
:class:`http.HTTPStatus supports some `IANA-registered status codes <https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml>`_, as well as 418 (the requested entity is a teapot incapable of brewing coffee)
5756
5857
======= =================================== ==================================================================
5958
Code Enum Name Details

0 commit comments

Comments
 (0)