Skip to content

Commit

Permalink
Correct description of HTTP status code 308. (GH-15098)
Browse files Browse the repository at this point in the history
Permanent redirect was explained as a temporary redirect.
(cherry picked from commit 5c72bad)

Co-authored-by: Florian Wendelborn <1133858+FlorianWendelborn@users.noreply.github.com>
  • Loading branch information
2 people authored and benjaminp committed Aug 3, 2019
1 parent 6b83390 commit 4e402d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/http/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __new__(cls, value, phrase, description=''):
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',
Expand Down

0 comments on commit 4e402d3

Please sign in to comment.