mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Correct description of HTTP status code 308. (GH-15078)
Permanent redirect was explained as a temporary redirect.
This commit is contained in:
parent
9670ce76b8
commit
5c72badd06
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue