GNUnet  0.20.0
http-status-codes.h File Reference

Go to the source code of this file.

Enumerations

enum  MHD_HTTP_StatusCode {
  MHD_HTTP_CONTINUE = 100 , MHD_HTTP_SWITCHING_PROTOCOLS = 101 , MHD_HTTP_PROCESSING = 102 , MHD_HTTP_EARLY_HINTS = 103 ,
  MHD_HTTP_OK = 200 , MHD_HTTP_CREATED = 201 , MHD_HTTP_ACCEPTED = 202 , MHD_HTTP_NON_AUTHORITATIVE_INFORMATION = 203 ,
  MHD_HTTP_NO_CONTENT = 204 , MHD_HTTP_RESET_CONTENT = 205 , MHD_HTTP_PARTIAL_CONTENT = 206 , MHD_HTTP_MULTI_STATUS = 207 ,
  MHD_HTTP_ALREADY_REPORTED = 208 , MHD_HTTP_IM_USED = 226 , MHD_HTTP_MULTIPLE_CHOICES = 300 , MHD_HTTP_MOVED_PERMANENTLY = 301 ,
  MHD_HTTP_FOUND = 302 , MHD_HTTP_SEE_OTHER = 303 , MHD_HTTP_NOT_MODIFIED = 304 , MHD_HTTP_USE_PROXY = 305 ,
  MHD_HTTP_SWITCH_PROXY = 306 , MHD_HTTP_TEMPORARY_REDIRECT = 307 , MHD_HTTP_PERMANENT_REDIRECT = 308 , MHD_HTTP_BAD_REQUEST = 400 ,
  MHD_HTTP_UNAUTHORIZED = 401 , MHD_HTTP_PAYMENT_REQUIRED = 402 , MHD_HTTP_FORBIDDEN = 403 , MHD_HTTP_NOT_FOUND = 404 ,
  MHD_HTTP_METHOD_NOT_ALLOWED = 405 , MHD_HTTP_NOT_ACCEPTABLE = 406 , MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED = 407 , MHD_HTTP_REQUEST_TIMEOUT = 408 ,
  MHD_HTTP_CONFLICT = 409 , MHD_HTTP_GONE = 410 , MHD_HTTP_LENGTH_REQUIRED = 411 , MHD_HTTP_PRECONDITION_FAILED = 412 ,
  MHD_HTTP_CONTENT_TOO_LARGE = 413 , MHD_HTTP_URI_TOO_LONG = 414 , MHD_HTTP_UNSUPPORTED_MEDIA_TYPE = 415 , MHD_HTTP_RANGE_NOT_SATISFIABLE = 416 ,
  MHD_HTTP_EXPECTATION_FAILED = 417 , MHD_HTTP_MISDIRECTED_REQUEST = 421 , MHD_HTTP_UNPROCESSABLE_CONTENT = 422 , MHD_HTTP_LOCKED = 423 ,
  MHD_HTTP_FAILED_DEPENDENCY = 424 , MHD_HTTP_TOO_EARLY = 425 , MHD_HTTP_UPGRADE_REQUIRED = 426 , MHD_HTTP_PRECONDITION_REQUIRED = 428 ,
  MHD_HTTP_TOO_MANY_REQUESTS = 429 , MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431 , MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS = 451 , MHD_HTTP_INTERNAL_SERVER_ERROR = 500 ,
  MHD_HTTP_NOT_IMPLEMENTED = 501 , MHD_HTTP_BAD_GATEWAY = 502 , MHD_HTTP_SERVICE_UNAVAILABLE = 503 , MHD_HTTP_GATEWAY_TIMEOUT = 504 ,
  MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED = 505 , MHD_HTTP_VARIANT_ALSO_NEGOTIATES = 506 , MHD_HTTP_INSUFFICIENT_STORAGE = 507 , MHD_HTTP_LOOP_DETECTED = 508 ,
  MHD_HTTP_NOT_EXTENDED = 510 , MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511 , MHD_HTTP_RETRY_WITH = 449 , MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED = 509 ,
  MHD_HTTP_UNINITIALIZED = 0
}
 HTTP status codes as per RFC 7231 plus vendor extensions. More...
 

Enumeration Type Documentation

◆ MHD_HTTP_StatusCode

HTTP status codes as per RFC 7231 plus vendor extensions.

1xx: Informational - Request received, continuing process 2xx: Success - The action was successfully received, understood, and accepted 3xx: Redirection - Further action must be taken in order to complete the request 4xx: Client Error - The request contains bad syntax or cannot be fulfilled 5xx: Server Error - The server failed to fulfill an apparently valid request

Enumerator
MHD_HTTP_CONTINUE 

Continue [RFC7231, Section 6.2.1].

MHD_HTTP_SWITCHING_PROTOCOLS 

Switching Protocols [RFC7231, Section 6.2.2].

MHD_HTTP_PROCESSING 

Processing [RFC2518].

MHD_HTTP_EARLY_HINTS 

Early Hints [RFC8297].

MHD_HTTP_OK 

OK [RFC7231, Section 6.3.1].

MHD_HTTP_CREATED 

Created [RFC7231, Section 6.3.2].

MHD_HTTP_ACCEPTED 

Accepted [RFC7231, Section 6.3.3].

MHD_HTTP_NON_AUTHORITATIVE_INFORMATION 

Non-Authoritative Information [RFC7231, Section 6.3.4].

MHD_HTTP_NO_CONTENT 

No Content [RFC7231, Section 6.3.5].

MHD_HTTP_RESET_CONTENT 

Reset Content [RFC7231, Section 6.3.6].

MHD_HTTP_PARTIAL_CONTENT 

Partial Content [RFC7233, Section 4.1].

MHD_HTTP_MULTI_STATUS 

Multi-Status [RFC4918].

MHD_HTTP_ALREADY_REPORTED 

Already Reported [RFC5842].

MHD_HTTP_IM_USED 

IM Used [RFC3229].

MHD_HTTP_MULTIPLE_CHOICES 

Multiple Choices [RFC7231, Section 6.4.1].

MHD_HTTP_MOVED_PERMANENTLY 

Moved Permanently [RFC7231, Section 6.4.2].

MHD_HTTP_FOUND 

Found [RFC7231, Section 6.4.3].

MHD_HTTP_SEE_OTHER 

See Other [RFC7231, Section 6.4.4].

MHD_HTTP_NOT_MODIFIED 

Not Modified [RFC7232, Section 4.1].

MHD_HTTP_USE_PROXY 

Use Proxy [RFC7231, Section 6.4.5].

MHD_HTTP_SWITCH_PROXY 

Switch proxy (not used) [RFC7231, Section 6.4.6].

MHD_HTTP_TEMPORARY_REDIRECT 

Temporary Redirect [RFC7231, Section 6.4.7].

MHD_HTTP_PERMANENT_REDIRECT 

Permanent Redirect [RFC7538].

MHD_HTTP_BAD_REQUEST 

Bad Request [RFC7231, Section 6.5.1].

MHD_HTTP_UNAUTHORIZED 

Unauthorized [RFC7235, Section 3.1].

MHD_HTTP_PAYMENT_REQUIRED 

Payment Required [RFC7231, Section 6.5.2].

MHD_HTTP_FORBIDDEN 

Forbidden [RFC7231, Section 6.5.3].

MHD_HTTP_NOT_FOUND 

Not Found [RFC7231, Section 6.5.4].

MHD_HTTP_METHOD_NOT_ALLOWED 

Method Not Allowed [RFC7231, Section 6.5.5].

MHD_HTTP_NOT_ACCEPTABLE 

Not Acceptable [RFC7231, Section 6.5.6].

MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED 

Proxy Authentication Required [RFC7235, Section 3.2].

MHD_HTTP_REQUEST_TIMEOUT 

Request Timeout [RFC7231, Section 6.5.7].

MHD_HTTP_CONFLICT 

Conflict [RFC7231, Section 6.5.8].

MHD_HTTP_GONE 

Gone [RFC7231, Section 6.5.9].

MHD_HTTP_LENGTH_REQUIRED 

Length Required [RFC7231, Section 6.5.10].

MHD_HTTP_PRECONDITION_FAILED 

Precondition Failed [RFC7232, Section 4.2][RFC8144, Section 3.2].

MHD_HTTP_CONTENT_TOO_LARGE 

Content Too Large [RFC9110, Section 15.5.14].

MHD_HTTP_URI_TOO_LONG 

URI Too Long [RFC7231, Section 6.5.12].

MHD_HTTP_UNSUPPORTED_MEDIA_TYPE 

Unsupported Media Type [RFC7231, Section 6.5.13][RFC7694, Section 3].

MHD_HTTP_RANGE_NOT_SATISFIABLE 

Range Not Satisfiable [RFC7233, Section 4.4].

MHD_HTTP_EXPECTATION_FAILED 

Expectation Failed [RFC7231, Section 6.5.14].

MHD_HTTP_MISDIRECTED_REQUEST 

Misdirected Request [RFC7540, Section 9.1.2].

MHD_HTTP_UNPROCESSABLE_CONTENT 

Unprocessable Content [RFC9110, Sectio 15.5.21].

MHD_HTTP_LOCKED 

Locked [RFC4918].

MHD_HTTP_FAILED_DEPENDENCY 

Failed Dependency [RFC4918].

MHD_HTTP_TOO_EARLY 

Too Early [RFC8470].

MHD_HTTP_UPGRADE_REQUIRED 

Upgrade Required [RFC7231, Section 6.5.15].

MHD_HTTP_PRECONDITION_REQUIRED 

Precondition Required [RFC6585].

MHD_HTTP_TOO_MANY_REQUESTS 

Too Many Requests [RFC6585].

MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE 

Request Header Fields Too Large [RFC6585].

MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS 

Unavailable For Legal Reasons [RFC7725].

MHD_HTTP_INTERNAL_SERVER_ERROR 

Internal Server Error [RFC7231, Section 6.6.1].

MHD_HTTP_NOT_IMPLEMENTED 

Not Implemented [RFC7231, Section 6.6.2].

MHD_HTTP_BAD_GATEWAY 

Bad Gateway [RFC7231, Section 6.6.3].

MHD_HTTP_SERVICE_UNAVAILABLE 

Service Unavailable [RFC7231, Section 6.6.4].

MHD_HTTP_GATEWAY_TIMEOUT 

Gateway Timeout [RFC7231, Section 6.6.5].

MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED 

HTTP Version Not Supported [RFC7231, Section 6.6.6].

MHD_HTTP_VARIANT_ALSO_NEGOTIATES 

Variant Also Negotiates [RFC2295].

MHD_HTTP_INSUFFICIENT_STORAGE 

Insufficient Storage [RFC4918].

MHD_HTTP_LOOP_DETECTED 

Loop Detected [RFC5842].

MHD_HTTP_NOT_EXTENDED 

Not Extended [RFC2774].

MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED 

Network Authentication Required [RFC6585].

MHD_HTTP_RETRY_WITH 

Retry with [MS IIS extension].

MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED 

Bandwidth Limit Exceeded [Apache extension].

MHD_HTTP_UNINITIALIZED 

No status code, used if no HTTP status is available (uninitialized) [None].

Definition at line 40 of file http-status-codes.h.

40  {
41 
42 
46  MHD_HTTP_CONTINUE = 100,
47 
48 
53 
54 
58  MHD_HTTP_PROCESSING = 102,
59 
60 
65 
66 
70  MHD_HTTP_OK = 200,
71 
72 
76  MHD_HTTP_CREATED = 201,
77 
78 
82  MHD_HTTP_ACCEPTED = 202,
83 
84 
89 
90 
94  MHD_HTTP_NO_CONTENT = 204,
95 
96 
101 
102 
107 
108 
112  MHD_HTTP_MULTI_STATUS = 207,
113 
114 
119 
120 
124  MHD_HTTP_IM_USED = 226,
125 
126 
131 
132 
137 
138 
142  MHD_HTTP_FOUND = 302,
143 
144 
148  MHD_HTTP_SEE_OTHER = 303,
149 
150 
154  MHD_HTTP_NOT_MODIFIED = 304,
155 
156 
160  MHD_HTTP_USE_PROXY = 305,
161 
162 
166  MHD_HTTP_SWITCH_PROXY = 306,
167 
168 
173 
174 
179 
180 
184  MHD_HTTP_BAD_REQUEST = 400,
185 
186 
190  MHD_HTTP_UNAUTHORIZED = 401,
191 
192 
197 
198 
202  MHD_HTTP_FORBIDDEN = 403,
203 
204 
208  MHD_HTTP_NOT_FOUND = 404,
209 
210 
215 
216 
221 
222 
227 
228 
233 
234 
238  MHD_HTTP_CONFLICT = 409,
239 
240 
244  MHD_HTTP_GONE = 410,
245 
246 
251 
252 
257 
258 
263 
264 
268  MHD_HTTP_URI_TOO_LONG = 414,
269 
270 
275 
276 
281 
282 
287 
288 
293 
294 
299 
300 
304  MHD_HTTP_LOCKED = 423,
305 
306 
311 
312 
316  MHD_HTTP_TOO_EARLY = 425,
317 
318 
323 
324 
329 
330 
335 
336 
341 
342 
347 
348 
353 
354 
359 
360 
364  MHD_HTTP_BAD_GATEWAY = 502,
365 
366 
371 
372 
377 
378 
383 
384 
389 
390 
395 
396 
401 
402 
406  MHD_HTTP_NOT_EXTENDED = 510,
407 
408 
413 
414 
418  MHD_HTTP_RETRY_WITH = 449,
419 
420 
425 
426 
431 
432 
433 };
@ 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_UNPROCESSABLE_CONTENT
Unprocessable Content [RFC9110, Sectio 15.5.21].
@ 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_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_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_CONTENT_TOO_LARGE
Content Too Large [RFC9110, Section 15.5.14].
@ 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].