aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commit183dee65a7ab177564fa24342064a72c40d46e9f (patch)
treea178199a51d5546b120535dd7198be865594ad83 /net
parent0a7dcafbbad82bcbe4eafec2a7eaf11ae5356648 (diff)
downloadprosody-183dee65a7ab177564fa24342064a72c40d46e9f.tar.gz
prosody-183dee65a7ab177564fa24342064a72c40d46e9f.zip
net.http.codes: "Correct" range of unassigned codes (thanks pep.)
Diffstat (limited to 'net')
-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";