diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-13 16:11:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-13 16:11:30 +0200 |
commit | 8165818e268f3995d34bdd5f4fcf61ff196446ae (patch) | |
tree | 82ab4b335b781698422f41652b1fac1fbfd462ea /net | |
parent | 96e44863cf8d6bad4feb1d22954906f0629cfb89 (diff) | |
download | prosody-8165818e268f3995d34bdd5f4fcf61ff196446ae.tar.gz prosody-8165818e268f3995d34bdd5f4fcf61ff196446ae.zip |
net.http.codes: Add HTTP status code 451 Unavailable For Legal Reasons from RFC 7725
Diffstat (limited to 'net')
-rw-r--r-- | net/http/codes.lua | 1 |
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"; |