aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-27 18:54:51 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-27 18:54:51 +0100
commit0629f9223478422fb0d01e12bcb15e54362d5fae (patch)
tree312952342df2b6ea98180aa08adc1d9322fac3bf /net/http
parente9de5a1a10930ab3a6e722221affdd0fe18f9121 (diff)
downloadprosody-0629f9223478422fb0d01e12bcb15e54362d5fae.tar.gz
prosody-0629f9223478422fb0d01e12bcb15e54362d5fae.zip
net.http.codes: Add missing 418 status code
Diffstat (limited to 'net/http')
-rw-r--r--net/http/codes.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/http/codes.lua b/net/http/codes.lua
index 2e701027..0cadd079 100644
--- a/net/http/codes.lua
+++ b/net/http/codes.lua
@@ -44,6 +44,7 @@ local response_codes = {
[415] = "Unsupported Media Type";
[416] = "Requested Range Not Satisfiable";
[417] = "Expectation Failed";
+ [418] = "I'm a teapot";
[422] = "Unprocessable Entity";
[423] = "Locked";
[424] = "Failed Dependency";