From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 3 Aug 2019 18:40:09 +0000 (-0700) Subject: Correct description of HTTP status code 308. (GH-15097) X-Git-Tag: v3.7.5rc1~204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bb8f22abd81751eab1125132cdaa31b2083c735;p=thirdparty%2FPython%2Fcpython.git Correct description of HTTP status code 308. (GH-15097) 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',