]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
doc: http: Fix enum name for status code 416 (GH-11689)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 31 Jan 2019 10:15:29 +0000 (02:15 -0800)
committerGitHub <noreply@github.com>
Thu, 31 Jan 2019 10:15:29 +0000 (02:15 -0800)
(cherry picked from commit d97daebfa69b4df95231bcae4123eacad6a48d14)

Co-authored-by: Phil Jones <philip.graham.jones@googlemail.com>
Doc/library/http.rst

index 7c34004a3ae0822992414de0e58236bdabfd1dc3..88d62cca3f904167ac09ad608b8417447b5f80dc 100644 (file)
@@ -96,7 +96,7 @@ Code    Enum Name                           Details
 ``413`` ``REQUEST_ENTITY_TOO_LARGE``        HTTP/1.1 :rfc:`7231`, Section 6.5.11
 ``414`` ``REQUEST_URI_TOO_LONG``            HTTP/1.1 :rfc:`7231`, Section 6.5.12
 ``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
+``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
 ``421`` ``MISDIRECTED_REQUEST``             HTTP/2 :rfc:`7540`, Section 9.1.2
 ``422`` ``UNPROCESSABLE_ENTITY``            WebDAV :rfc:`4918`, Section 11.2