aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-12 01:46:18 +0200
committerKim Alvefur <zash@zash.se>2018-08-12 01:46:18 +0200
commitfd5a55b5ab2d967ac21634279c76814e1d45f1c5 (patch)
treea178199a51d5546b120535dd7198be865594ad83
parent17595df1a00ec1bcff54ce000c99f2c3170fbdeb (diff)
downloadprosody-fd5a55b5ab2d967ac21634279c76814e1d45f1c5.tar.gz
prosody-fd5a55b5ab2d967ac21634279c76814e1d45f1c5.zip
net.http.codes: "Correct" range of unassigned codes (thanks pep.)
-rw-r--r--net/http/codes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/codes.lua b/net/http/codes.lua
index 66d24621..8098b5c3 100644
--- a/net/http/codes.lua
+++ b/net/http/codes.lua
@@ -51,7 +51,7 @@ local response_codes = {
[416] = "Range Not Satisfiable"; -- RFC7233, Section 4.4
[417] = "Expectation Failed"; -- RFC7231, Section 6.5.14
[418] = "I'm a teapot"; -- RFC2324, Section 2.3.2
- -- [418-420] = "Unassigned";
+ -- [419-420] = "Unassigned";
[421] = "Misdirected Request"; -- RFC7540, Section 9.1.2
[422] = "Unprocessable Entity";
[423] = "Locked";