From 4c89d041878972b771a7a593f9358c6bdb17d6c7 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 13 Aug 2016 16:11:30 +0200 Subject: net.http.codes: Add HTTP status code 451 Unavailable For Legal Reasons from RFC 7725 --- net/http/codes.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'net/http/codes.lua') 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"; -- cgit v1.2.3