Mercurial > prosody-hg
comparison 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 |
| parents | e8efb5cf0877 |
| children | 7ed130d3676c |
comparison
equal
deleted
inserted
replaced
| 7571:e8efb5cf0877 | 7572:f549587b8c06 |
|---|---|
| 53 -- The 425 status code is reserved for the WebDAV advanced collections expired proposal [RFC2817] | 53 -- The 425 status code is reserved for the WebDAV advanced collections expired proposal [RFC2817] |
| 54 [426] = "Upgrade Required"; | 54 [426] = "Upgrade Required"; |
| 55 [428] = "Precondition Required"; | 55 [428] = "Precondition Required"; |
| 56 [429] = "Too Many Requests"; | 56 [429] = "Too Many Requests"; |
| 57 [431] = "Request Header Fields Too Large"; | 57 [431] = "Request Header Fields Too Large"; |
| 58 [451] = "Unavailable For Legal Reasons"; | |
| 58 | 59 |
| 59 [500] = "Internal Server Error"; | 60 [500] = "Internal Server Error"; |
| 60 [501] = "Not Implemented"; | 61 [501] = "Not Implemented"; |
| 61 [502] = "Bad Gateway"; | 62 [502] = "Bad Gateway"; |
| 62 [503] = "Service Unavailable"; | 63 [503] = "Service Unavailable"; |
