Software /
code /
prosody
Changeset
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 |
parents | 7571:e8efb5cf0877 |
children | 7581:01d0d466d7be |
files | net/http/codes.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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";