ia64/xen-unstable

view tools/xfrd/http.h @ 2422:2274a0386cc9

bitkeeper revision 1.1159.69.5 (4138e882jA1YaR_OfTfNHe_uT4PDIg)

trivial
author iap10@labyrinth.cl.cam.ac.uk
date Fri Sep 03 21:56:18 2004 +0000 (2004-09-03)
parents f9df1e9a2193
children 0a4b76b6b5a0
line source
1 #ifndef _XFRD_HTTP_H_
2 #define _XFRD_HTTP_H_
4 enum {
5 HTTP_OK = 200,
6 HTTP_CREATED = 201,
7 HTTP_ACCEPTED = 202,
8 HTTP_NON_AUTHORITATIVE_INFORMATION = 203,
9 HTTP_NO_CONTENT = 204,
10 HTTP_RESET_CONTENT = 205,
11 HTTP_PARTIAL_CONTENT = 206,
12 HTTP_MULTI_STATUS = 207,
14 HTTP_MULTIPLE_CHOICE = 300,
15 HTTP_MOVED_PERMANENTLY = 301,
16 HTTP_FOUND = 302,
17 HTTP_SEE_OTHER = 303,
18 HTTP_NOT_MODIFIED = 304,
19 HTTP_USE_PROXY = 305,
20 HTTP_TEMPORARY_REDIRECT = 307,
22 HTTP_BAD_REQUEST = 400,
23 HTTP_UNAUTHORIZED = 401,
24 HTTP_PAYMENT_REQUIRED = 402,
25 HTTP_FORBIDDEN = 403,
26 HTTP_NOT_FOUND = 404,
27 HTTP_NOT_ALLOWED = 405,
28 HTTP_NOT_ACCEPTABLE = 406,
29 HTTP_PROXY_AUTH_REQUIRED = 407,
30 HTTP_REQUEST_TIMEOUT = 408,
31 HTTP_CONFLICT = 409,
32 HTTP_GONE = 410,
33 HTTP_LENGTH_REQUIRED = 411,
34 HTTP_PRECONDITION_FAILED = 412,
35 HTTP_REQUEST_ENTITY_TOO_LARGE = 413,
36 HTTP_REQUEST_URI_TOO_LONG = 414,
37 HTTP_UNSUPPORTED_MEDIA_TYPE = 415,
38 HTTP_REQUESTED_RANGE_NOT_SATISFIABLE = 416,
39 HTTP_EXPECTATION_FAILED = 417,
41 HTTP_INTERNAL_SERVER_ERROR = 500,
42 HTTP_NOT_IMPLEMENTED = 501,
43 HTTP_BAD_GATEWAY = 502,
44 HTTP_SERVICE_UNAVAILABLE = 503,
45 HTTP_GATEWAY_TIMEOUT = 504,
46 HTTP_VERSION_NOT_SUPPORTED = 505,
47 HTTP_INSUFFICIENT_STORAGE_SPACE = 507,
48 HTTP_NOT_EXTENDED = 510,
49 };
50 #endif /* ! _XFRD_HTTP_H_ */