diff options
author | Vitor Pereira <vmsousapereira@gmail.com> | 2017-10-26 18:49:19 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2017-10-26 18:49:19 (GMT) |
commit | 52ad72dd0a5a56414cc29b7c9b03259169825f35 (patch) | |
tree | e95aa7a4128b4cbb43fe3bc93e4e6e4915aba4d9 /Doc/library/http.rst | |
parent | bdf4298ae2c1d720fd808520267ca3a4e56df842 (diff) | |
download | cpython-52ad72dd0a5a56414cc29b7c9b03259169825f35.zip cpython-52ad72dd0a5a56414cc29b7c9b03259169825f35.tar.gz cpython-52ad72dd0a5a56414cc29b7c9b03259169825f35.tar.bz2 |
bpo-30553: Add status code 421 to http.HTTPStatus (GH-2589)
Diffstat (limited to 'Doc/library/http.rst')
-rw-r--r-- | Doc/library/http.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/http.rst b/Doc/library/http.rst index be661c5..7c34004 100644 --- a/Doc/library/http.rst +++ b/Doc/library/http.rst @@ -98,6 +98,7 @@ Code Enum Name Details ``415`` ``UNSUPPORTED_MEDIA_TYPE`` HTTP/1.1 :rfc:`7231`, Section 6.5.13 ``416`` ``REQUEST_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 +``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 ``424`` ``FAILED_DEPENDENCY`` WebDAV :rfc:`4918`, Section 11.4 @@ -122,3 +123,6 @@ In order to preserve backwards compatibility, enum values are also present in the :mod:`http.client` module in the form of constants. The enum name is equal to the constant name (i.e. ``http.HTTPStatus.OK`` is also available as ``http.client.OK``). + +.. versionchanged:: 3.7 + Added ``421 MISDIRECTED_REQUEST`` status code. |