]> code.delx.au - gnu-emacs-elpa/blob - packages/web-server/web-server-status-codes.el
Merge commit '0cda39255827f283e7578cd469ae42daad9556a2' from js2-mode
[gnu-emacs-elpa] / packages / web-server / web-server-status-codes.el
1 ;;; web-server-status-codes.el --- Emacs Web Server HTML status codes
2
3 ;; Copyright (C) 2013-2014 Free Software Foundation, Inc.
4
5 ;; This software is free software: you can redistribute it and/or modify
6 ;; it under the terms of the GNU General Public License as published by
7 ;; the Free Software Foundation, either version 3 of the License, or
8 ;; (at your option) any later version.
9
10 ;; This software is distributed in the hope that it will be useful,
11 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ;; GNU General Public License for more details.
14
15 ;; You should have received a copy of the GNU General Public License
16 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
17
18 ;;; Code:
19 (defvar ws-status-codes
20 '((100 . "Continue")
21 (101 . "Switching Protocols")
22 (102 . "Processing")
23 (200 . "OK")
24 (201 . "Created")
25 (202 . "Accepted")
26 (203 . "Non-Authoritative Information")
27 (204 . "No Content")
28 (205 . "Reset Content")
29 (206 . "Partial Content")
30 (207 . "Multi-Status")
31 (208 . "Already Reported")
32 (226 . "IM Used")
33 (300 . "Multiple Choices")
34 (301 . "Moved Permanently")
35 (302 . "Found")
36 (303 . "See Other")
37 (304 . "Not Modified")
38 (305 . "Use Proxy")
39 (306 . "Switch Proxy")
40 (307 . "Temporary Redirect")
41 (308 . "Permanent Redirect")
42 (400 . "Bad Request")
43 (401 . "Unauthorized")
44 (402 . "Payment Required")
45 (403 . "Forbidden")
46 (404 . "Not Found")
47 (405 . "Method Not Allowed")
48 (406 . "Not Acceptable")
49 (407 . "Proxy Authentication Required")
50 (408 . "Request Timeout")
51 (409 . "Conflict")
52 (410 . "Gone")
53 (411 . "Length Required")
54 (412 . "Precondition Failed")
55 (413 . "Request Entity Too Large")
56 (414 . "Request-URI Too Long")
57 (415 . "Unsupported Media Type")
58 (416 . "Requested Range Not Satisfiable")
59 (417 . "Expectation Failed")
60 (418 . "I'm a teapot")
61 (419 . "Authentication Timeout")
62 (420 . "Method Failure")
63 (420 . "Enhance Your Calm")
64 (422 . "Unprocessable Entity")
65 (423 . "Locked")
66 (424 . "Failed Dependency")
67 (424 . "Method Failure")
68 (425 . "Unordered Collection")
69 (426 . "Upgrade Required")
70 (428 . "Precondition Required")
71 (429 . "Too Many Requests")
72 (431 . "Request Header Fields Too Large")
73 (440 . "Login Timeout")
74 (444 . "No Response")
75 (449 . "Retry With")
76 (450 . "Blocked by Windows Parental Controls")
77 (451 . "Unavailable For Legal Reasons")
78 (451 . "Redirect")
79 (494 . "Request Header Too Large")
80 (495 . "Cert Error")
81 (496 . "No Cert")
82 (497 . "HTTP to HTTPS")
83 (499 . "Client Closed Request")
84 (500 . "Internal Server Error")
85 (501 . "Not Implemented")
86 (502 . "Bad Gateway")
87 (503 . "Service Unavailable")
88 (504 . "Gateway Timeout")
89 (505 . "HTTP Version Not Supported")
90 (506 . "Variant Also Negotiates")
91 (507 . "Insufficient Storage")
92 (508 . "Loop Detected")
93 (509 . "Bandwidth Limit Exceeded")
94 (510 . "Not Extended")
95 (511 . "Network Authentication Required")
96 (520 . "Origin Error")
97 (522 . "Connection timed out")
98 (523 . "Proxy Declined Request")
99 (524 . "A timeout occurred")
100 (598 . "Network read timeout error")
101 (599 . "Network connect timeout error"))
102 "Possible HTML status codes with names.
103 From http://en.wikipedia.org/wiki/List_of_HTTP_status_codes.")
104
105 (provide 'web-server-status-codes)
106 ;;; web-server-status-codes.el ends here