diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-12 01:46:18 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-12 01:46:18 +0200 |
commit | 183dee65a7ab177564fa24342064a72c40d46e9f (patch) | |
tree | a178199a51d5546b120535dd7198be865594ad83 /net/http | |
parent | 0a7dcafbbad82bcbe4eafec2a7eaf11ae5356648 (diff) | |
download | prosody-183dee65a7ab177564fa24342064a72c40d46e9f.tar.gz prosody-183dee65a7ab177564fa24342064a72c40d46e9f.zip |
net.http.codes: "Correct" range of unassigned codes (thanks pep.)
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/codes.lua | 2 |
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"; |