[Python-checkins] Correct description of HTTP status code 308. (GH-15098)
Benjamin Peterson
webhook-mailer at python.org
Sat Aug 3 14:39:50 EDT 2019
https://github.com/python/cpython/commit/4e402d37eb4009140421365acbeff78104b108e0
commit: 4e402d37eb4009140421365acbeff78104b108e0
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Benjamin Peterson <benjamin at python.org>
date: 2019-08-03T11:39:46-07:00
summary:
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 at users.noreply.github.com>
files:
M Lib/http/__init__.py
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 @@ def __new__(cls, value, phrase, description=''):
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',
More information about the Python-checkins
mailing list