GNUnet  0.19.2
http-status-codes.h
Go to the documentation of this file.
1 /*
2  This file is part of GNU libmicrohttpd
3  Copyright (C) 2012-2020 GNUnet e.V.
4 
5  GNU libmicrohttpd is free software: you can redistribute it and/or modify it
6  under the terms of the GNU Lesser General Public License as published
7  by the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  GNU libmicrohttpd is distributed in the hope that it will be useful, but
11  WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18  SPDX-License-Identifier: LGPL3.0-or-later
19  */
20 #ifndef GNU_LIBMICROHTTPD_HTTP_STATUS_CODES_H
21 #define GNU_LIBMICROHTTPD_HTTP_STATUS_CODES_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #if 0 /* keep Emacsens' auto-indent happy */
26 }
27 #endif
28 #endif
29 
30 
41 
42 
47 
48 
53 
54 
59 
60 
65 
66 
70  MHD_HTTP_OK = 200,
71 
72 
77 
78 
83 
84 
89 
90 
95 
96 
101 
102 
107 
108 
113 
114 
119 
120 
125 
126 
131 
132 
137 
138 
143 
144 
149 
150 
155 
156 
161 
162 
167 
168 
173 
174 
179 
180 
185 
186 
191 
192 
197 
198 
203 
204 
209 
210 
215 
216 
221 
222 
227 
228 
233 
234 
239 
240 
245 
246 
251 
252 
257 
258 
263 
264 
269 
270 
275 
276 
281 
282 
287 
288 
293 
294 
299 
300 
305 
306 
311 
312 
317 
318 
323 
324 
329 
330 
335 
336 
341 
342 
347 
348 
353 
354 
359 
360 
365 
366 
371 
372 
377 
378 
383 
384 
389 
390 
395 
396 
401 
402 
407 
408 
413 
414 
419 
420 
425 
426 
431 
432 
433 };
434 
435 
436 #if 0 /* keep Emacsens' auto-indent happy */
437 {
438 #endif
439 #ifdef __cplusplus
440 }
441 #endif
442 
443 #endif
MHD_HTTP_StatusCode
HTTP status codes as per RFC 7231 plus vendor extensions.
@ MHD_HTTP_ALREADY_REPORTED
Already Reported [RFC5842].
@ MHD_HTTP_BAD_REQUEST
Bad Request [RFC7231, Section 6.5.1].
@ MHD_HTTP_UNAUTHORIZED
Unauthorized [RFC7235, Section 3.1].
@ MHD_HTTP_RESET_CONTENT
Reset Content [RFC7231, Section 6.3.6].
@ MHD_HTTP_GATEWAY_TIMEOUT
Gateway Timeout [RFC7231, Section 6.6.5].
@ MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE
Request Header Fields Too Large [RFC6585].
@ MHD_HTTP_LOOP_DETECTED
Loop Detected [RFC5842].
@ MHD_HTTP_PERMANENT_REDIRECT
Permanent Redirect [RFC7538].
@ MHD_HTTP_MOVED_PERMANENTLY
Moved Permanently [RFC7231, Section 6.4.2].
@ MHD_HTTP_PRECONDITION_REQUIRED
Precondition Required [RFC6585].
@ MHD_HTTP_OK
OK [RFC7231, Section 6.3.1].
@ MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED
Proxy Authentication Required [RFC7235, Section 3.2].
@ MHD_HTTP_CONTINUE
Continue [RFC7231, Section 6.2.1].
@ MHD_HTTP_ACCEPTED
Accepted [RFC7231, Section 6.3.3].
@ MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED
Network Authentication Required [RFC6585].
@ MHD_HTTP_PROCESSING
Processing [RFC2518].
@ MHD_HTTP_INSUFFICIENT_STORAGE
Insufficient Storage [RFC4918].
@ MHD_HTTP_NOT_FOUND
Not Found [RFC7231, Section 6.5.4].
@ MHD_HTTP_CREATED
Created [RFC7231, Section 6.3.2].
@ MHD_HTTP_NO_CONTENT
No Content [RFC7231, Section 6.3.5].
@ MHD_HTTP_MULTI_STATUS
Multi-Status [RFC4918].
@ MHD_HTTP_FAILED_DEPENDENCY
Failed Dependency [RFC4918].
@ MHD_HTTP_UPGRADE_REQUIRED
Upgrade Required [RFC7231, Section 6.5.15].
@ MHD_HTTP_UNPROCESSABLE_ENTITY
Unprocessable Entity [RFC4918].
@ MHD_HTTP_SWITCH_PROXY
Switch proxy (not used) [RFC7231, Section 6.4.6].
@ MHD_HTTP_UNINITIALIZED
No status code, used if no HTTP status is available (uninitialized) [None].
@ MHD_HTTP_REQUEST_TIMEOUT
Request Timeout [RFC7231, Section 6.5.7].
@ MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS
Unavailable For Legal Reasons [RFC7725].
@ MHD_HTTP_PAYLOAD_TOO_LARGE
Payload Too Large [RFC7231, Section 6.5.11].
@ MHD_HTTP_EXPECTATION_FAILED
Expectation Failed [RFC7231, Section 6.5.14].
@ MHD_HTTP_SEE_OTHER
See Other [RFC7231, Section 6.4.4].
@ MHD_HTTP_IM_USED
IM Used [RFC3229].
@ MHD_HTTP_EARLY_HINTS
Early Hints [RFC8297].
@ MHD_HTTP_SWITCHING_PROTOCOLS
Switching Protocols [RFC7231, Section 6.2.2].
@ MHD_HTTP_INTERNAL_SERVER_ERROR
Internal Server Error [RFC7231, Section 6.6.1].
@ MHD_HTTP_TOO_EARLY
Too Early [RFC8470].
@ MHD_HTTP_FORBIDDEN
Forbidden [RFC7231, Section 6.5.3].
@ MHD_HTTP_PARTIAL_CONTENT
Partial Content [RFC7233, Section 4.1].
@ MHD_HTTP_RETRY_WITH
Retry with [MS IIS extension].
@ MHD_HTTP_LOCKED
Locked [RFC4918].
@ MHD_HTTP_NON_AUTHORITATIVE_INFORMATION
Non-Authoritative Information [RFC7231, Section 6.3.4].
@ MHD_HTTP_LENGTH_REQUIRED
Length Required [RFC7231, Section 6.5.10].
@ MHD_HTTP_TEMPORARY_REDIRECT
Temporary Redirect [RFC7231, Section 6.4.7].
@ MHD_HTTP_GONE
Gone [RFC7231, Section 6.5.9].
@ MHD_HTTP_UNSUPPORTED_MEDIA_TYPE
Unsupported Media Type [RFC7231, Section 6.5.13][RFC7694, Section 3].
@ MHD_HTTP_VARIANT_ALSO_NEGOTIATES
Variant Also Negotiates [RFC2295].
@ MHD_HTTP_CONFLICT
Conflict [RFC7231, Section 6.5.8].
@ MHD_HTTP_PAYMENT_REQUIRED
Payment Required [RFC7231, Section 6.5.2].
@ MHD_HTTP_RANGE_NOT_SATISFIABLE
Range Not Satisfiable [RFC7233, Section 4.4].
@ MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED
Bandwidth Limit Exceeded [Apache extension].
@ MHD_HTTP_MULTIPLE_CHOICES
Multiple Choices [RFC7231, Section 6.4.1].
@ MHD_HTTP_SERVICE_UNAVAILABLE
Service Unavailable [RFC7231, Section 6.6.4].
@ MHD_HTTP_NOT_EXTENDED
Not Extended [RFC2774].
@ MHD_HTTP_NOT_IMPLEMENTED
Not Implemented [RFC7231, Section 6.6.2].
@ MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED
HTTP Version Not Supported [RFC7231, Section 6.6.6].
@ MHD_HTTP_PRECONDITION_FAILED
Precondition Failed [RFC7232, Section 4.2][RFC8144, Section 3.2].
@ MHD_HTTP_URI_TOO_LONG
URI Too Long [RFC7231, Section 6.5.12].
@ MHD_HTTP_MISDIRECTED_REQUEST
Misdirected Request [RFC7540, Section 9.1.2].
@ MHD_HTTP_TOO_MANY_REQUESTS
Too Many Requests [RFC6585].
@ MHD_HTTP_NOT_ACCEPTABLE
Not Acceptable [RFC7231, Section 6.5.6].
@ MHD_HTTP_USE_PROXY
Use Proxy [RFC7231, Section 6.4.5].
@ MHD_HTTP_FOUND
Found [RFC7231, Section 6.4.3].
@ MHD_HTTP_METHOD_NOT_ALLOWED
Method Not Allowed [RFC7231, Section 6.5.5].
@ MHD_HTTP_BAD_GATEWAY
Bad Gateway [RFC7231, Section 6.6.3].
@ MHD_HTTP_NOT_MODIFIED
Not Modified [RFC7232, Section 4.1].