Software /
code /
prosody
Diff
net/http/codes.lua @ 7572:f549587b8c06
net.http.codes: Add HTTP status code 451 Unavailable For Legal Reasons from RFC 7725
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 13 Aug 2016 16:11:30 +0200 |
parent | 7571:e8efb5cf0877 |
child | 9167:7ed130d3676c |
line wrap: on
line diff
--- a/net/http/codes.lua Sat Aug 13 16:10:17 2016 +0200 +++ b/net/http/codes.lua Sat Aug 13 16:11:30 2016 +0200 @@ -55,6 +55,7 @@ [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";