From 8165818e268f3995d34bdd5f4fcf61ff196446ae 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(+) 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