aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/codes.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-13 16:11:30 +0200
committerKim Alvefur <zash@zash.se>2016-08-13 16:11:30 +0200
commit4c89d041878972b771a7a593f9358c6bdb17d6c7 (patch)
tree82ab4b335b781698422f41652b1fac1fbfd462ea /net/http/codes.lua
parent8c797be6c44961cdd5a3f712ae421832cc4c22f0 (diff)
downloadprosody-4c89d041878972b771a7a593f9358c6bdb17d6c7.tar.gz
prosody-4c89d041878972b771a7a593f9358c6bdb17d6c7.zip
net.http.codes: Add HTTP status code 451 Unavailable For Legal Reasons from RFC 7725
Diffstat (limited to 'net/http/codes.lua')
-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 1801c6b3..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";