skip online test
[m6w6/ext-http] / src / php_http_response_codes.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: http |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2015, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 #ifndef PHP_HTTP_RESPONSE_CODE
14 # define PHP_HTTP_RESPONSE_CODE(code, status)
15 #endif
16
17 PHP_HTTP_RESPONSE_CODE(100, "Continue")
18 PHP_HTTP_RESPONSE_CODE(101, "Switching Protocols")
19 PHP_HTTP_RESPONSE_CODE(102, "Processing")
20 PHP_HTTP_RESPONSE_CODE(200, "OK")
21 PHP_HTTP_RESPONSE_CODE(201, "Created")
22 PHP_HTTP_RESPONSE_CODE(202, "Accepted")
23 PHP_HTTP_RESPONSE_CODE(203, "Non-Authoritative Information")
24 PHP_HTTP_RESPONSE_CODE(204, "No Content")
25 PHP_HTTP_RESPONSE_CODE(205, "Reset Content")
26 PHP_HTTP_RESPONSE_CODE(206, "Partial Content")
27 PHP_HTTP_RESPONSE_CODE(207, "Multi-Status")
28 PHP_HTTP_RESPONSE_CODE(208, "Already Reported")
29 PHP_HTTP_RESPONSE_CODE(226, "IM Used")
30 PHP_HTTP_RESPONSE_CODE(300, "Multiple Choices")
31 PHP_HTTP_RESPONSE_CODE(301, "Moved Permanently")
32 PHP_HTTP_RESPONSE_CODE(302, "Found")
33 PHP_HTTP_RESPONSE_CODE(303, "See Other")
34 PHP_HTTP_RESPONSE_CODE(304, "Not Modified")
35 PHP_HTTP_RESPONSE_CODE(305, "Use Proxy")
36 PHP_HTTP_RESPONSE_CODE(307, "Temporary Redirect")
37 PHP_HTTP_RESPONSE_CODE(308, "Permanent Redirect")
38 PHP_HTTP_RESPONSE_CODE(400, "Bad Request")
39 PHP_HTTP_RESPONSE_CODE(401, "Unauthorized")
40 PHP_HTTP_RESPONSE_CODE(402, "Payment Required")
41 PHP_HTTP_RESPONSE_CODE(403, "Forbidden")
42 PHP_HTTP_RESPONSE_CODE(404, "Not Found")
43 PHP_HTTP_RESPONSE_CODE(405, "Method Not Allowed")
44 PHP_HTTP_RESPONSE_CODE(406, "Not Acceptable")
45 PHP_HTTP_RESPONSE_CODE(407, "Proxy Authentication Required")
46 PHP_HTTP_RESPONSE_CODE(408, "Request Timeout")
47 PHP_HTTP_RESPONSE_CODE(409, "Conflict")
48 PHP_HTTP_RESPONSE_CODE(410, "Gone")
49 PHP_HTTP_RESPONSE_CODE(411, "Length Required")
50 PHP_HTTP_RESPONSE_CODE(412, "Precondition Failed")
51 PHP_HTTP_RESPONSE_CODE(413, "Request Entity Too Large")
52 PHP_HTTP_RESPONSE_CODE(414, "Request URI Too Long")
53 PHP_HTTP_RESPONSE_CODE(415, "Unsupported Media Type")
54 PHP_HTTP_RESPONSE_CODE(416, "Requested Range Not Satisfiable")
55 PHP_HTTP_RESPONSE_CODE(417, "Expectation Failed")
56 PHP_HTTP_RESPONSE_CODE(422, "Unprocessible Entity")
57 PHP_HTTP_RESPONSE_CODE(423, "Locked")
58 PHP_HTTP_RESPONSE_CODE(424, "Failed Dependency")
59 PHP_HTTP_RESPONSE_CODE(426, "Upgrade Required")
60 PHP_HTTP_RESPONSE_CODE(428, "Precondition Required")
61 PHP_HTTP_RESPONSE_CODE(429, "Too Many Requests")
62 PHP_HTTP_RESPONSE_CODE(431, "Request Header Fields Too Large")
63 PHP_HTTP_RESPONSE_CODE(500, "Internal Server Error")
64 PHP_HTTP_RESPONSE_CODE(501, "Not Implemented")
65 PHP_HTTP_RESPONSE_CODE(502, "Bad Gateway")
66 PHP_HTTP_RESPONSE_CODE(503, "Service Unavailable")
67 PHP_HTTP_RESPONSE_CODE(504, "Gateway Timeout")
68 PHP_HTTP_RESPONSE_CODE(505, "HTTP Version Not Supported")
69 PHP_HTTP_RESPONSE_CODE(506, "Variant Also Negotiates")
70 PHP_HTTP_RESPONSE_CODE(507, "Insufficient Storage")
71 PHP_HTTP_RESPONSE_CODE(508, "Loop Detected")
72 PHP_HTTP_RESPONSE_CODE(510, "Not Extended")
73 PHP_HTTP_RESPONSE_CODE(511, "Network Authentication Required")
74
75
76 /*
77 * Local variables:
78 * tab-width: 4
79 * c-basic-offset: 4
80 * End:
81 * vim600: noet sw=4 ts=4 fdm=marker
82 * vim<600: noet sw=4 ts=4
83 */