diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 57 |
1 files changed, 56 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index c21ab293..cb2e280a 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -63,9 +63,64 @@ extern "C" { | |||
63 | 63 | ||
64 | #define MHD_NO 0 | 64 | #define MHD_NO 0 |
65 | 65 | ||
66 | #define MHD_HTTP_OK 200 | 66 | #define MHD_HTTP_CONTINUE 100 |
67 | #define MHD_HTTP_SWITCHING_PROTOCOLS 101 | ||
68 | #define MHD_HTTP_PROCESSING 102 | ||
67 | 69 | ||
70 | #define MHD_HTTP_OK 200 | ||
71 | #define MHD_HTTP_CREATED 201 | ||
72 | #define MHD_HTTP_ACCEPTED 202 | ||
73 | #define MHD_HTTP_NON_AUTHORITATIVE_INFORMATION 203 | ||
74 | #define MHD_HTTP_NO_CONTENT 204 | ||
75 | #define MHD_HTTP_RESET_CONTENT 205 | ||
76 | #define MHD_HTTP_PARTIAL_CONTENT 206 | ||
77 | #define MHD_HTTP_MULTI_STATUS 207 | ||
78 | |||
79 | #define MHD_HTTP_MULTIPLE_CHOICES 300 | ||
80 | #define MHD_HTTP_MOVED_PERMANENTLY 301 | ||
81 | #define MHD_HTTP_FOUND 302 | ||
82 | #define MHD_HTTP_SEE_OTHER 303 | ||
83 | #define MHD_HTTP_NOT_MODIFIED 304 | ||
84 | #define MHD_HTTP_USE_PROXY 305 | ||
85 | #define MHD_HTTP_SWITCH_PROXY 306 | ||
86 | #define MHD_HTTP_TEMPORARY_REDIRECT 307 | ||
87 | |||
88 | #define MHD_HTTP_BAD_REQUEST 400 | ||
89 | #define MHD_HTTP_UNAUTHORIZED 401 | ||
90 | #define MHD_HTTP_PAYMENT_REQUIRED 402 | ||
91 | #define MHD_HTTP_FORBIDDEN 403 | ||
68 | #define MHD_HTTP_NOT_FOUND 404 | 92 | #define MHD_HTTP_NOT_FOUND 404 |
93 | #define MHD_HTTP_METHOD_NOT_ALLOWED 405 | ||
94 | #define MHD_HTTP_METHOD_NOT_ACCEPTABLE 406 | ||
95 | #define MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED 407 | ||
96 | #define MHD_HTTP_REQUEST_TIMEOUT 408 | ||
97 | #define MHD_HTTP_CONFLICT 409 | ||
98 | #define MHD_HTTP_GONE 410 | ||
99 | #define MHD_HTTP_LENGTH_REQUIRED 411 | ||
100 | #define MHD_HTTP_PRECONDITION_FAILED 412 | ||
101 | #define MHD_HTTP_REQUEST_ENTITY_TOO_LARGE 413 | ||
102 | #define MHD_HTTP_REQUEST_URI_TOO_LONG 414 | ||
103 | #define MHD_HTTP_UNSUPPORTED_MEDIA_TYPE 415 | ||
104 | #define MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE 416 | ||
105 | #define MHD_HTTP_EXPECTATION_FAILED 417 | ||
106 | #define MHD_HTTP_UNPROCESSABLE_ENTITY 422 | ||
107 | #define MHD_HTTP_LOCKED 423 | ||
108 | #define MHD_HTTP_FAILED_DEPENDENCY 424 | ||
109 | #define MHD_HTTP_UNORDERED_COLLECTION 425 | ||
110 | #define MHD_HTTP_UPGRADE_REQUIRED 426 | ||
111 | #define MHD_HTTP_RETRY_WITH 449 | ||
112 | |||
113 | #define MHD_HTTP_INTERNAL_SERVER_ERROR 500 | ||
114 | #define MHD_HTTP_NOT_IMPLEMENTED 501 | ||
115 | #define MHD_HTTP_BAD_GATEWAY 502 | ||
116 | #define MHD_HTTP_SERVICE_UNAVAILABLE 503 | ||
117 | #define MHD_HTTP_GATEWAY_TIMEOUT 504 | ||
118 | #define MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED 505 | ||
119 | #define MHD_HTTP_VARIANT_ALSO_NEGOTIATES 506 | ||
120 | #define MHD_HTTP_INSUFFICIENT_STORAGE 507 | ||
121 | #define MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED 509 | ||
122 | #define MHD_HTTP_NOT_EXTENDED 510 | ||
123 | |||
69 | 124 | ||
70 | 125 | ||
71 | /** | 126 | /** |