GNU libmicrohttpd 0.9.77
Loading...
Searching...
No Matches
HTTP response codes.

Macros

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

Detailed Description

These are the status codes defined for HTTP responses. See: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml Registry export date: 2021-12-19

Macro Definition Documentation

◆ MHD_HTTP_ACCEPTED

#define MHD_HTTP_ACCEPTED   202

Definition at line 360 of file microhttpd.h.

◆ MHD_HTTP_ALREADY_REPORTED

#define MHD_HTTP_ALREADY_REPORTED   208

Definition at line 372 of file microhttpd.h.

◆ MHD_HTTP_BAD_GATEWAY

#define MHD_HTTP_BAD_GATEWAY   502

Definition at line 463 of file microhttpd.h.

◆ MHD_HTTP_BAD_REQUEST

#define MHD_HTTP_BAD_REQUEST   400

Definition at line 397 of file microhttpd.h.

◆ MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED

#define MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED   509

Definition at line 491 of file microhttpd.h.

◆ MHD_HTTP_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS

#define MHD_HTTP_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS   450

Definition at line 488 of file microhttpd.h.

◆ MHD_HTTP_CONFLICT

#define MHD_HTTP_CONFLICT   409

Definition at line 415 of file microhttpd.h.

◆ MHD_HTTP_CONTENT_TOO_LARGE

#define MHD_HTTP_CONTENT_TOO_LARGE   413

Definition at line 423 of file microhttpd.h.

◆ MHD_HTTP_CONTINUE

#define MHD_HTTP_CONTINUE   100

Definition at line 347 of file microhttpd.h.

◆ MHD_HTTP_CREATED

#define MHD_HTTP_CREATED   201

Definition at line 358 of file microhttpd.h.

◆ MHD_HTTP_EARLY_HINTS

#define MHD_HTTP_EARLY_HINTS   103

Definition at line 353 of file microhttpd.h.

◆ MHD_HTTP_EXPECTATION_FAILED

#define MHD_HTTP_EXPECTATION_FAILED   417

Definition at line 431 of file microhttpd.h.

◆ MHD_HTTP_FAILED_DEPENDENCY

#define MHD_HTTP_FAILED_DEPENDENCY   424

Definition at line 441 of file microhttpd.h.

◆ MHD_HTTP_FORBIDDEN

#define MHD_HTTP_FORBIDDEN   403

Definition at line 403 of file microhttpd.h.

◆ MHD_HTTP_FOUND

#define MHD_HTTP_FOUND   302

Definition at line 382 of file microhttpd.h.

◆ MHD_HTTP_GATEWAY_TIMEOUT

#define MHD_HTTP_GATEWAY_TIMEOUT   504

Definition at line 467 of file microhttpd.h.

◆ MHD_HTTP_GONE

#define MHD_HTTP_GONE   410

Definition at line 417 of file microhttpd.h.

◆ MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED

#define MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED   505

Definition at line 469 of file microhttpd.h.

◆ MHD_HTTP_IM_USED

#define MHD_HTTP_IM_USED   226

Definition at line 375 of file microhttpd.h.

◆ MHD_HTTP_INSUFFICIENT_STORAGE

#define MHD_HTTP_INSUFFICIENT_STORAGE   507

Definition at line 473 of file microhttpd.h.

◆ MHD_HTTP_INTERNAL_SERVER_ERROR

#define MHD_HTTP_INTERNAL_SERVER_ERROR   500

Definition at line 459 of file microhttpd.h.

◆ MHD_HTTP_LENGTH_REQUIRED

#define MHD_HTTP_LENGTH_REQUIRED   411

Definition at line 419 of file microhttpd.h.

◆ MHD_HTTP_LOCKED

#define MHD_HTTP_LOCKED   423

Definition at line 439 of file microhttpd.h.

◆ MHD_HTTP_LOOP_DETECTED

#define MHD_HTTP_LOOP_DETECTED   508

Definition at line 475 of file microhttpd.h.

◆ MHD_HTTP_METHOD_NOT_ACCEPTABLE

#define MHD_HTTP_METHOD_NOT_ACCEPTABLE
Value:
"Value MHD_HTTP_METHOD_NOT_ACCEPTABLE is deprecated, use MHD_HTTP_NOT_ACCEPTABLE") \
406
#define _MHD_DEPR_IN_MACRO(msg)
Definition microhttpd.h:272

Definition at line 495 of file microhttpd.h.

◆ MHD_HTTP_METHOD_NOT_ALLOWED

#define MHD_HTTP_METHOD_NOT_ALLOWED   405

Definition at line 407 of file microhttpd.h.

◆ MHD_HTTP_MISDIRECTED_REQUEST

#define MHD_HTTP_MISDIRECTED_REQUEST   421

Definition at line 435 of file microhttpd.h.

◆ MHD_HTTP_MOVED_PERMANENTLY

#define MHD_HTTP_MOVED_PERMANENTLY   301

Definition at line 380 of file microhttpd.h.

◆ MHD_HTTP_MULTI_STATUS

#define MHD_HTTP_MULTI_STATUS   207

Definition at line 370 of file microhttpd.h.

◆ MHD_HTTP_MULTIPLE_CHOICES

#define MHD_HTTP_MULTIPLE_CHOICES   300

Definition at line 378 of file microhttpd.h.

◆ MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED

#define MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED   511

Definition at line 480 of file microhttpd.h.

◆ MHD_HTTP_NO_CONTENT

#define MHD_HTTP_NO_CONTENT   204

Definition at line 364 of file microhttpd.h.

◆ MHD_HTTP_NO_RESPONSE

#define MHD_HTTP_NO_RESPONSE
Value:
"Value MHD_HTTP_NO_RESPONSE is deprecated as it is nginx internal code for logs only") \
444

Definition at line 537 of file microhttpd.h.

◆ MHD_HTTP_NON_AUTHORITATIVE_INFORMATION

#define MHD_HTTP_NON_AUTHORITATIVE_INFORMATION   203

Definition at line 362 of file microhttpd.h.

◆ MHD_HTTP_NOT_ACCEPTABLE

#define MHD_HTTP_NOT_ACCEPTABLE   406

Definition at line 409 of file microhttpd.h.

◆ MHD_HTTP_NOT_EXTENDED

#define MHD_HTTP_NOT_EXTENDED   510

Definition at line 478 of file microhttpd.h.

◆ MHD_HTTP_NOT_FOUND

#define MHD_HTTP_NOT_FOUND   404

Definition at line 405 of file microhttpd.h.

◆ MHD_HTTP_NOT_IMPLEMENTED

#define MHD_HTTP_NOT_IMPLEMENTED   501

Definition at line 461 of file microhttpd.h.

◆ MHD_HTTP_NOT_MODIFIED

#define MHD_HTTP_NOT_MODIFIED   304

Definition at line 386 of file microhttpd.h.

◆ MHD_HTTP_OK

#define MHD_HTTP_OK   200

Definition at line 356 of file microhttpd.h.

◆ MHD_HTTP_PARTIAL_CONTENT

#define MHD_HTTP_PARTIAL_CONTENT   206

Definition at line 368 of file microhttpd.h.

◆ MHD_HTTP_PAYLOAD_TOO_LARGE

#define MHD_HTTP_PAYLOAD_TOO_LARGE
Value:
"Value MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated, use MHD_HTTP_CONTENT_TOO_LARGE") \
413

Definition at line 507 of file microhttpd.h.

◆ MHD_HTTP_PAYMENT_REQUIRED

#define MHD_HTTP_PAYMENT_REQUIRED   402

Definition at line 401 of file microhttpd.h.

◆ MHD_HTTP_PERMANENT_REDIRECT

#define MHD_HTTP_PERMANENT_REDIRECT   308

Definition at line 394 of file microhttpd.h.

◆ MHD_HTTP_PRECONDITION_FAILED

#define MHD_HTTP_PRECONDITION_FAILED   412

Definition at line 421 of file microhttpd.h.

◆ MHD_HTTP_PRECONDITION_REQUIRED

#define MHD_HTTP_PRECONDITION_REQUIRED   428

Definition at line 448 of file microhttpd.h.

◆ MHD_HTTP_PROCESSING

#define MHD_HTTP_PROCESSING   102

Definition at line 351 of file microhttpd.h.

◆ MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED

#define MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED   407

Definition at line 411 of file microhttpd.h.

◆ MHD_HTTP_RANGE_NOT_SATISFIABLE

#define MHD_HTTP_RANGE_NOT_SATISFIABLE   416

Definition at line 429 of file microhttpd.h.

◆ MHD_HTTP_REQUEST_ENTITY_TOO_LARGE

#define MHD_HTTP_REQUEST_ENTITY_TOO_LARGE
Value:
"Value MHD_HTTP_REQUEST_ENTITY_TOO_LARGE is deprecated, use MHD_HTTP_CONTENT_TOO_LARGE") \
413

Definition at line 501 of file microhttpd.h.

◆ MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE

#define MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE   431

Definition at line 453 of file microhttpd.h.

◆ MHD_HTTP_REQUEST_TIMEOUT

#define MHD_HTTP_REQUEST_TIMEOUT   408

Definition at line 413 of file microhttpd.h.

◆ MHD_HTTP_REQUEST_URI_TOO_LONG

#define MHD_HTTP_REQUEST_URI_TOO_LONG
Value:
"Value MHD_HTTP_REQUEST_URI_TOO_LONG is deprecated, use MHD_HTTP_URI_TOO_LONG") \
414

Definition at line 513 of file microhttpd.h.

◆ MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE

#define MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE
Value:
"Value MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE is deprecated, use MHD_HTTP_RANGE_NOT_SATISFIABLE") \
416

Definition at line 519 of file microhttpd.h.

◆ MHD_HTTP_RESET_CONTENT

#define MHD_HTTP_RESET_CONTENT   205

Definition at line 366 of file microhttpd.h.

◆ MHD_HTTP_RETRY_WITH

#define MHD_HTTP_RETRY_WITH   449

Definition at line 485 of file microhttpd.h.

◆ MHD_HTTP_SEE_OTHER

#define MHD_HTTP_SEE_OTHER   303

Definition at line 384 of file microhttpd.h.

◆ MHD_HTTP_SERVICE_UNAVAILABLE

#define MHD_HTTP_SERVICE_UNAVAILABLE   503

Definition at line 465 of file microhttpd.h.

◆ MHD_HTTP_SWITCH_PROXY

#define MHD_HTTP_SWITCH_PROXY   306

Definition at line 390 of file microhttpd.h.

◆ MHD_HTTP_SWITCHING_PROTOCOLS

#define MHD_HTTP_SWITCHING_PROTOCOLS   101

Definition at line 349 of file microhttpd.h.

◆ MHD_HTTP_TEMPORARY_REDIRECT

#define MHD_HTTP_TEMPORARY_REDIRECT   307

Definition at line 392 of file microhttpd.h.

◆ MHD_HTTP_TOO_EARLY

#define MHD_HTTP_TOO_EARLY   425

Definition at line 443 of file microhttpd.h.

◆ MHD_HTTP_TOO_MANY_REQUESTS

#define MHD_HTTP_TOO_MANY_REQUESTS   429

Definition at line 450 of file microhttpd.h.

◆ MHD_HTTP_UNAUTHORIZED

#define MHD_HTTP_UNAUTHORIZED   401

Definition at line 399 of file microhttpd.h.

◆ MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS

#define MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS   451

Definition at line 456 of file microhttpd.h.

◆ MHD_HTTP_UNORDERED_COLLECTION

#define MHD_HTTP_UNORDERED_COLLECTION
Value:
"Value MHD_HTTP_UNORDERED_COLLECTION is deprecated as it was removed from RFC") \
425

Definition at line 531 of file microhttpd.h.

◆ MHD_HTTP_UNPROCESSABLE_CONTENT

#define MHD_HTTP_UNPROCESSABLE_CONTENT   422

Definition at line 437 of file microhttpd.h.

◆ MHD_HTTP_UNPROCESSABLE_ENTITY

#define MHD_HTTP_UNPROCESSABLE_ENTITY
Value:
"Value MHD_HTTP_UNPROCESSABLE_ENTITY is deprecated, use MHD_HTTP_UNPROCESSABLE_CONTENT") \
422

Definition at line 525 of file microhttpd.h.

◆ MHD_HTTP_UNSUPPORTED_MEDIA_TYPE

#define MHD_HTTP_UNSUPPORTED_MEDIA_TYPE   415

Definition at line 427 of file microhttpd.h.

◆ MHD_HTTP_UPGRADE_REQUIRED

#define MHD_HTTP_UPGRADE_REQUIRED   426

Definition at line 445 of file microhttpd.h.

◆ MHD_HTTP_URI_TOO_LONG

#define MHD_HTTP_URI_TOO_LONG   414

Definition at line 425 of file microhttpd.h.

◆ MHD_HTTP_USE_PROXY

#define MHD_HTTP_USE_PROXY   305

Definition at line 388 of file microhttpd.h.

◆ MHD_HTTP_VARIANT_ALSO_NEGOTIATES

#define MHD_HTTP_VARIANT_ALSO_NEGOTIATES   506

Definition at line 471 of file microhttpd.h.