From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 3 Aug 2019 18:39:46 +0000 (-0700) Subject: Correct description of HTTP status code 308. (GH-15098) X-Git-Tag: v3.8.0b4~137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e402d37eb4009140421365acbeff78104b108e0;p=thirdparty%2FPython%2Fcpython.git Correct description of HTTP status code 308. (GH-15098) Permanent redirect was explained as a temporary redirect. (cherry picked from commit 5c72badd06a962fe0018ceb9916f3ae66314ea8e) Co-authored-by: Florian Wendelborn <1133858+FlorianWendelborn@users.noreply.github.com> --- diff --git a/Lib/http/__init__.py b/Lib/http/__init__.py index aed94a585046..e14a1eb074c5 100644 --- a/Lib/http/__init__.py +++ b/Lib/http/__init__.py @@ -59,7 +59,7 @@ class HTTPStatus(IntEnum): TEMPORARY_REDIRECT = (307, 'Temporary Redirect', 'Object moved temporarily -- see URI list') PERMANENT_REDIRECT = (308, 'Permanent Redirect', - 'Object moved temporarily -- see URI list') + 'Object moved permanently -- see URI list') # client error BAD_REQUEST = (400, 'Bad Request',