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

Permanent redirect was explained as a temporary redirect.
(cherry picked from commit 5c72badd06)

Co-authored-by: Florian Wendelborn <1133858+FlorianWendelborn@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2019-08-03 11:39:46 -07:00 committed by Benjamin Peterson
parent 6b833901fe
commit 4e402d37eb

View 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',