mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
6b833901fe
commit
4e402d37eb
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