Skip to content

Commit

Permalink
Adding I'm a teapot error code (#7081)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoySegall authored and tomchristie committed Dec 10, 2019
1 parent 90eaf51 commit ebcd931
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 ebcd931

Please sign in to comment.