[Python-checkins] Correct description of HTTP status code 308. (GH-15078)

Benjamin Peterson webhook-mailer at python.org
Sat Aug 3 14:16:39 EDT 2019


https://github.com/python/cpython/commit/5c72badd06a962fe0018ceb9916f3ae66314ea8e
commit: 5c72badd06a962fe0018ceb9916f3ae66314ea8e
branch: master
author: Florian Wendelborn <1133858+FlorianWendelborn at users.noreply.github.com>
committer: Benjamin Peterson <benjamin at python.org>
date: 2019-08-03T11:16:34-07:00
summary:

Correct description of HTTP status code 308. (GH-15078)

Permanent redirect was explained as a temporary redirect.

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