Skip to content

Commit

Permalink
Adding I'm a teapot error code (encode#7081)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoySegall authored and sigvef committed Dec 3, 2022
1 parent d272714 commit 7b96468
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rest_framework/status.py
Expand Up @@ -66,6 +66,7 @@ def is_server_error(code):
HTTP_415_UNSUPPORTED_MEDIA_TYPE = 415
HTTP_416_REQUESTED_RANGE_NOT_SATISFIABLE = 416
HTTP_417_EXPECTATION_FAILED = 417
HTTP_418_IM_A_TEAPOT = 418
HTTP_422_UNPROCESSABLE_ENTITY = 422
HTTP_423_LOCKED = 423
HTTP_424_FAILED_DEPENDENCY = 424
Expand Down

0 comments on commit 7b96468

Please sign in to comment.