diff options
author | Brett <brett@nextglass.co> | 2014-05-28 15:20:16 -0400 |
---|---|---|
committer | Brett <brett@nextglass.co> | 2014-05-28 15:20:16 -0400 |
commit | d7c8345efd4ab2a2aa0302f9829dc73679e2af2f (patch) | |
tree | a2cb901994948b13209d7b5a6049246dba67ff69 | |
parent | aee23e702ead4a269a5484b9e9fec928a7de0c83 (diff) | |
download | bottle-d7c8345efd4ab2a2aa0302f9829dc73679e2af2f.tar.gz |
add 422 response code string
-rw-r--r-- | bottle.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |