summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bottle.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bottle.py b/bottle.py
index 0254af5..94e9caf 100644
--- a/bottle.py
+++ b/bottle.py
@@ -3645,6 +3645,7 @@ NORUN = False # If set, run() does nothing. Used by load_app()
#: A dict to map HTTP status codes (e.g. 404) to phrases (e.g. 'Not Found')
HTTP_CODES = httplib.responses
HTTP_CODES[418] = "I'm a teapot" # RFC 2324
+HTTP_CODES[422] = "Unprocessable Entity" # RFC 4918
HTTP_CODES[428] = "Precondition Required"
HTTP_CODES[429] = "Too Many Requests"
HTTP_CODES[431] = "Request Header Fields Too Large"