mkfs, mkproto: minor improvements
[minix.git] / lib / libfetch / httperr.h
blob6a00dbedd8a0e99fdf3c88aaa607790695dc578a
1 static struct fetcherr http_errlist[] = {
2 { 100, FETCH_OK, "Continue" },
3 { 101, FETCH_OK, "Switching Protocols" },
4 { 200, FETCH_OK, "OK" },
5 { 201, FETCH_OK, "Created" },
6 { 202, FETCH_OK, "Accepted" },
7 { 203, FETCH_INFO, "Non-Authoritative Information" },
8 { 204, FETCH_OK, "No Content" },
9 { 205, FETCH_OK, "Reset Content" },
10 { 206, FETCH_OK, "Partial Content" },
11 { 300, FETCH_MOVED, "Multiple Choices" },
12 { 301, FETCH_MOVED, "Moved Permanently" },
13 { 302, FETCH_MOVED, "Moved Temporarily" },
14 { 303, FETCH_MOVED, "See Other" },
15 { 304, FETCH_UNCHANGED, "Not Modified" },
16 { 305, FETCH_INFO, "Use Proxy" },
17 { 307, FETCH_MOVED, "Temporary Redirect" },
18 { 400, FETCH_PROTO, "Bad Request" },
19 { 401, FETCH_AUTH, "Unauthorized" },
20 { 402, FETCH_AUTH, "Payment Required" },
21 { 403, FETCH_AUTH, "Forbidden" },
22 { 404, FETCH_UNAVAIL, "Not Found" },
23 { 405, FETCH_PROTO, "Method Not Allowed" },
24 { 406, FETCH_PROTO, "Not Acceptable" },
25 { 407, FETCH_AUTH, "Proxy Authentication Required" },
26 { 408, FETCH_TIMEOUT, "Request Time-out" },
27 { 409, FETCH_EXISTS, "Conflict" },
28 { 410, FETCH_UNAVAIL, "Gone" },
29 { 411, FETCH_PROTO, "Length Required" },
30 { 412, FETCH_SERVER, "Precondition Failed" },
31 { 413, FETCH_PROTO, "Request Entity Too Large" },
32 { 414, FETCH_PROTO, "Request-URI Too Large" },
33 { 415, FETCH_PROTO, "Unsupported Media Type" },
34 { 416, FETCH_UNAVAIL, "Requested Range Not Satisfiable" },
35 { 417, FETCH_SERVER, "Expectation Failed" },
36 { 500, FETCH_SERVER, "Internal Server Error" },
37 { 501, FETCH_PROTO, "Not Implemented" },
38 { 502, FETCH_SERVER, "Bad Gateway" },
39 { 503, FETCH_TEMP, "Service Unavailable" },
40 { 504, FETCH_TIMEOUT, "Gateway Time-out" },
41 { 505, FETCH_PROTO, "HTTP Version not supported" },
42 { 999, FETCH_PROTO, "Protocol error" },
43 { -1, FETCH_UNKNOWN, "Unknown HTTP error" }