Commit 5c72badd authored by Florian Wendelborn's avatar Florian Wendelborn Committed by Benjamin Peterson

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

Permanent redirect was explained as a temporary redirect.
parent 9670ce76
...@@ -59,7 +59,7 @@ class HTTPStatus(IntEnum): ...@@ -59,7 +59,7 @@ class HTTPStatus(IntEnum):
TEMPORARY_REDIRECT = (307, 'Temporary Redirect', TEMPORARY_REDIRECT = (307, 'Temporary Redirect',
'Object moved temporarily -- see URI list') 'Object moved temporarily -- see URI list')
PERMANENT_REDIRECT = (308, 'Permanent Redirect', PERMANENT_REDIRECT = (308, 'Permanent Redirect',
'Object moved temporarily -- see URI list') 'Object moved permanently -- see URI list')
# client error # client error
BAD_REQUEST = (400, 'Bad Request', BAD_REQUEST = (400, 'Bad Request',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment