aboutsummaryrefslogtreecommitdiffstats
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
commit17fa5ed559e5dff83778f4f00768f58929744f8c (patch)
tree312952342df2b6ea98180aa08adc1d9322fac3bf
parentaa1d8dd97b673e7fdd4c72fd4216b593dbb79f87 (diff)
downloadprosody-17fa5ed559e5dff83778f4f00768f58929744f8c.tar.gz
prosody-17fa5ed559e5dff83778f4f00768f58929744f8c.zip
net.http.codes: Add missing 418 status code
-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";