diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-18 17:36:46 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-18 17:36:46 +0200 |
commit | 782117034dc44969e35e4d35663045e5658b2913 (patch) | |
tree | a89e877c6e83d9aa3b79825812361591bf12bf2e /net/http/codes.lua | |
parent | 5e5b45be6ea322d815872a499ba85d4584cd28fd (diff) | |
parent | f30f5f62189373fe8a2081d1117fbc2977331f26 (diff) | |
download | prosody-782117034dc44969e35e4d35663045e5658b2913.tar.gz prosody-782117034dc44969e35e4d35663045e5658b2913.zip |
Merge 0.10->trunk
Diffstat (limited to 'net/http/codes.lua')
-rw-r--r-- | net/http/codes.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/codes.lua b/net/http/codes.lua index bc31c7dd..1090e545 100644 --- a/net/http/codes.lua +++ b/net/http/codes.lua @@ -55,6 +55,7 @@ local response_codes = { [428] = "Precondition Required"; [429] = "Too Many Requests"; [431] = "Request Header Fields Too Large"; + [451] = "Unavailable For Legal Reasons"; [500] = "Internal Server Error"; [501] = "Not Implemented"; @@ -70,4 +71,4 @@ local response_codes = { }; for k,v in pairs(response_codes) do response_codes[k] = k.." "..v; end -return setmetatable(response_codes, { __index = function(t, k) return k.." Unassigned"; end }) +return setmetatable(response_codes, { __index = function(_, k) return k.." Unassigned"; end }) |