Skip to content

Commit 0d0e7c3

Browse files
FlorianWendelbornrpkilby
authored andcommitted
Add HTTP 308 Permanent Redirect (#6693)
1 parent db37512 commit 0d0e7c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rest_framework/status.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def is_server_error(code):
4545
HTTP_305_USE_PROXY = 305
4646
HTTP_306_RESERVED = 306
4747
HTTP_307_TEMPORARY_REDIRECT = 307
48+
HTTP_308_PERMANENT_REDIRECT = 308
4849
HTTP_400_BAD_REQUEST = 400
4950
HTTP_401_UNAUTHORIZED = 401
5051
HTTP_402_PAYMENT_REQUIRED = 402

0 commit comments

Comments
 (0)