]> granicus.if.org Git - python/commitdiff
Correct description of HTTP status code 308. (GH-15078)
authorFlorian Wendelborn <1133858+FlorianWendelborn@users.noreply.github.com>
Sat, 3 Aug 2019 18:16:34 +0000 (20:16 +0200)
committerBenjamin Peterson <benjamin@python.org>
Sat, 3 Aug 2019 18:16:34 +0000 (11:16 -0700)
Permanent redirect was explained as a temporary redirect.

Lib/http/__init__.py

index aed94a5850467721035ac1c65dafca83f8d6455a..e14a1eb074c5937cf176f7401db5c4cc088b9c57 100644 (file)
@@ -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',