summaryrefslogtreecommitdiffstats
path: root/Lib/http
diff options
context:
space:
mode:
authorFlorian Wendelborn <1133858+FlorianWendelborn@users.noreply.github.com>2019-08-03 18:16:34 (GMT)
committerBenjamin Peterson <benjamin@python.org>2019-08-03 18:16:34 (GMT)
commit5c72badd06a962fe0018ceb9916f3ae66314ea8e (patch)
treea790dd9c8b3f44944783b81db4c8bfca2a94bc8d /Lib/http
parent9670ce76b83bde950020f8d89c4d27168aaaf912 (diff)
downloadcpython-5c72badd06a962fe0018ceb9916f3ae66314ea8e.zip
cpython-5c72badd06a962fe0018ceb9916f3ae66314ea8e.tar.gz
cpython-5c72badd06a962fe0018ceb9916f3ae66314ea8e.tar.bz2
Correct description of HTTP status code 308. (GH-15078)
Permanent redirect was explained as a temporary redirect.
Diffstat (limited to 'Lib/http')
-rw-r--r--Lib/http/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/http/__init__.py b/Lib/http/__init__.py
index aed94a5..e14a1eb 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',