From 020feb8f85f122d4af0c13a8a736e2e917d59bf4 Mon Sep 17 00:00:00 2001 From: Yehonatan Daniv Date: Wed, 5 Feb 2014 17:12:45 +0200 Subject: [PATCH] Added 418 status code --- rest_framework/status.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rest_framework/status.py b/rest_framework/status.py index 764353711..51720ef09 100644 --- a/rest_framework/status.py +++ b/rest_framework/status.py @@ -58,6 +58,7 @@ HTTP_414_REQUEST_URI_TOO_LONG = 414 HTTP_415_UNSUPPORTED_MEDIA_TYPE = 415 HTTP_416_REQUESTED_RANGE_NOT_SATISFIABLE = 416 HTTP_417_EXPECTATION_FAILED = 417 +HTTP_418_I_AM_A_TEAPOT = 418 HTTP_428_PRECONDITION_REQUIRED = 428 HTTP_429_TOO_MANY_REQUESTS = 429 HTTP_431_REQUEST_HEADER_FIELDS_TOO_LARGE = 431