From fd5a55b5ab2d967ac21634279c76814e1d45f1c5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 12 Aug 2018 01:46:18 +0200 Subject: net.http.codes: "Correct" range of unassigned codes (thanks pep.) --- net/http/codes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/http') 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"; -- cgit v1.2.3