UNPKG

http-status-code

Version:
23 lines (18 loc) 1.07 kB
// Miscellanious Status Codes // https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00 // https://tools.ietf.org/html/draft-kazuho-early-hints-status-code-00 { // 1xx - Informational // This informational status code indicates the client that the server // is likely to send a final request with the headers included in the // informational response. "103": "Early Hints", // 4xx - User Error // This status code indicates that the server is subject to legal restrictions which prevent it // servicing the request. Since such restrictions typically apply to all operators in a legal // jurisdiction, the server in question may or may not be an origin server. The restrictions typically // most directly affect the operations of ISPs and search engines. Responses using this status code // SHOULD include an explanation, in the response body, of the details of the legal restriction; which // legal authority is imposing it, and what class of resources it applies to. "451": "Unavailable For Legal Reasons" }