GNU libmicrohttpd  0.9.29
HTTP response codes.

Macros

#define MHD_HTTP_CONTINUE   100
 
#define MHD_HTTP_SWITCHING_PROTOCOLS   101
 
#define MHD_HTTP_PROCESSING   102
 
#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_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_METHOD_NOT_ACCEPTABLE   _MHD_DEPR_IN_MACRO("Value MHD_HTTP_METHOD_NOT_ACCEPTABLE is deprecated, use 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_REQUEST_ENTITY_TOO_LARGE   413
 
#define MHD_HTTP_REQUEST_URI_TOO_LONG   414
 
#define MHD_HTTP_UNSUPPORTED_MEDIA_TYPE   415
 
#define MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE   416
 
#define MHD_HTTP_EXPECTATION_FAILED   417
 
#define MHD_HTTP_UNPROCESSABLE_ENTITY   422
 
#define MHD_HTTP_LOCKED   423
 
#define MHD_HTTP_FAILED_DEPENDENCY   424
 
#define MHD_HTTP_UNORDERED_COLLECTION   425
 
#define MHD_HTTP_UPGRADE_REQUIRED   426
 
#define MHD_HTTP_NO_RESPONSE   444
 
#define MHD_HTTP_RETRY_WITH   449
 
#define MHD_HTTP_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS   450
 
#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_BANDWIDTH_LIMIT_EXCEEDED   509
 
#define MHD_HTTP_NOT_EXTENDED   510
 

Detailed Description

These are the status codes defined for HTTP responses.

Macro Definition Documentation

◆ MHD_HTTP_ACCEPTED

#define MHD_HTTP_ACCEPTED   202

Definition at line 307 of file microhttpd.h.

◆ MHD_HTTP_BAD_GATEWAY

#define MHD_HTTP_BAD_GATEWAY   502

Definition at line 357 of file microhttpd.h.

◆ MHD_HTTP_BAD_REQUEST

#define MHD_HTTP_BAD_REQUEST   400

◆ MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED

#define MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED   509

Definition at line 363 of file microhttpd.h.

◆ MHD_HTTP_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS

#define MHD_HTTP_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS   450

Definition at line 352 of file microhttpd.h.

◆ MHD_HTTP_CONFLICT

#define MHD_HTTP_CONFLICT   409

Definition at line 336 of file microhttpd.h.

◆ MHD_HTTP_CONTINUE

#define MHD_HTTP_CONTINUE   100

Definition at line 301 of file microhttpd.h.

◆ MHD_HTTP_CREATED

#define MHD_HTTP_CREATED   201

Definition at line 306 of file microhttpd.h.

◆ MHD_HTTP_EXPECTATION_FAILED

#define MHD_HTTP_EXPECTATION_FAILED   417

Definition at line 344 of file microhttpd.h.

◆ MHD_HTTP_FAILED_DEPENDENCY

#define MHD_HTTP_FAILED_DEPENDENCY   424

Definition at line 347 of file microhttpd.h.

◆ MHD_HTTP_FORBIDDEN

#define MHD_HTTP_FORBIDDEN   403

Definition at line 327 of file microhttpd.h.

◆ MHD_HTTP_FOUND

#define MHD_HTTP_FOUND   302

Definition at line 316 of file microhttpd.h.

◆ MHD_HTTP_GATEWAY_TIMEOUT

#define MHD_HTTP_GATEWAY_TIMEOUT   504

Definition at line 359 of file microhttpd.h.

◆ MHD_HTTP_GONE

#define MHD_HTTP_GONE   410

Definition at line 337 of file microhttpd.h.

◆ MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED

#define MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED   505

Definition at line 360 of file microhttpd.h.

◆ MHD_HTTP_INSUFFICIENT_STORAGE

#define MHD_HTTP_INSUFFICIENT_STORAGE   507

Definition at line 362 of file microhttpd.h.

◆ MHD_HTTP_INTERNAL_SERVER_ERROR

#define MHD_HTTP_INTERNAL_SERVER_ERROR   500

Definition at line 355 of file microhttpd.h.

Referenced by MHD_connection_update_event_loop_info().

◆ MHD_HTTP_LENGTH_REQUIRED

#define MHD_HTTP_LENGTH_REQUIRED   411

Definition at line 338 of file microhttpd.h.

◆ MHD_HTTP_LOCKED

#define MHD_HTTP_LOCKED   423

Definition at line 346 of file microhttpd.h.

◆ MHD_HTTP_METHOD_NOT_ACCEPTABLE

#define MHD_HTTP_METHOD_NOT_ACCEPTABLE   _MHD_DEPR_IN_MACRO("Value MHD_HTTP_METHOD_NOT_ACCEPTABLE is deprecated, use MHD_HTTP_NOT_ACCEPTABLE") 406

Definition at line 332 of file microhttpd.h.

◆ MHD_HTTP_METHOD_NOT_ALLOWED

#define MHD_HTTP_METHOD_NOT_ALLOWED   405

Definition at line 329 of file microhttpd.h.

◆ MHD_HTTP_MOVED_PERMANENTLY

#define MHD_HTTP_MOVED_PERMANENTLY   301

Definition at line 315 of file microhttpd.h.

◆ MHD_HTTP_MULTI_STATUS

#define MHD_HTTP_MULTI_STATUS   207

Definition at line 312 of file microhttpd.h.

◆ MHD_HTTP_MULTIPLE_CHOICES

#define MHD_HTTP_MULTIPLE_CHOICES   300

Definition at line 314 of file microhttpd.h.

◆ MHD_HTTP_NO_CONTENT

#define MHD_HTTP_NO_CONTENT   204

Definition at line 309 of file microhttpd.h.

Referenced by build_header_response(), and MHD_queue_response().

◆ MHD_HTTP_NO_RESPONSE

#define MHD_HTTP_NO_RESPONSE   444

Definition at line 350 of file microhttpd.h.

◆ MHD_HTTP_NON_AUTHORITATIVE_INFORMATION

#define MHD_HTTP_NON_AUTHORITATIVE_INFORMATION   203

Definition at line 308 of file microhttpd.h.

◆ MHD_HTTP_NOT_ACCEPTABLE

#define MHD_HTTP_NOT_ACCEPTABLE   406

Definition at line 330 of file microhttpd.h.

◆ MHD_HTTP_NOT_EXTENDED

#define MHD_HTTP_NOT_EXTENDED   510

Definition at line 364 of file microhttpd.h.

◆ MHD_HTTP_NOT_FOUND

#define MHD_HTTP_NOT_FOUND   404

Definition at line 328 of file microhttpd.h.

◆ MHD_HTTP_NOT_IMPLEMENTED

#define MHD_HTTP_NOT_IMPLEMENTED   501

Definition at line 356 of file microhttpd.h.

◆ MHD_HTTP_NOT_MODIFIED

#define MHD_HTTP_NOT_MODIFIED   304

Definition at line 318 of file microhttpd.h.

Referenced by build_header_response(), and MHD_queue_response().

◆ MHD_HTTP_OK

#define MHD_HTTP_OK   200

Definition at line 305 of file microhttpd.h.

Referenced by build_header_response(), and MHD_queue_response().

◆ MHD_HTTP_PARTIAL_CONTENT

#define MHD_HTTP_PARTIAL_CONTENT   206

Definition at line 311 of file microhttpd.h.

◆ MHD_HTTP_PAYMENT_REQUIRED

#define MHD_HTTP_PAYMENT_REQUIRED   402

Definition at line 326 of file microhttpd.h.

◆ MHD_HTTP_PERMANENT_REDIRECT

#define MHD_HTTP_PERMANENT_REDIRECT   308

Definition at line 322 of file microhttpd.h.

◆ MHD_HTTP_PRECONDITION_FAILED

#define MHD_HTTP_PRECONDITION_FAILED   412

Definition at line 339 of file microhttpd.h.

◆ MHD_HTTP_PROCESSING

#define MHD_HTTP_PROCESSING   102

Definition at line 303 of file microhttpd.h.

◆ MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED

#define MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED   407

Definition at line 334 of file microhttpd.h.

◆ MHD_HTTP_REQUEST_ENTITY_TOO_LARGE

#define MHD_HTTP_REQUEST_ENTITY_TOO_LARGE   413

◆ MHD_HTTP_REQUEST_TIMEOUT

#define MHD_HTTP_REQUEST_TIMEOUT   408

Definition at line 335 of file microhttpd.h.

◆ MHD_HTTP_REQUEST_URI_TOO_LONG

#define MHD_HTTP_REQUEST_URI_TOO_LONG   414

Definition at line 341 of file microhttpd.h.

Referenced by get_next_header_line(), and MHD_connection_update_event_loop_info().

◆ MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE

#define MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE   416

Definition at line 343 of file microhttpd.h.

◆ MHD_HTTP_RESET_CONTENT

#define MHD_HTTP_RESET_CONTENT   205

Definition at line 310 of file microhttpd.h.

◆ MHD_HTTP_RETRY_WITH

#define MHD_HTTP_RETRY_WITH   449

Definition at line 351 of file microhttpd.h.

◆ MHD_HTTP_SEE_OTHER

#define MHD_HTTP_SEE_OTHER   303

Definition at line 317 of file microhttpd.h.

◆ MHD_HTTP_SERVICE_UNAVAILABLE

#define MHD_HTTP_SERVICE_UNAVAILABLE   503

Definition at line 358 of file microhttpd.h.

◆ MHD_HTTP_SWITCH_PROXY

#define MHD_HTTP_SWITCH_PROXY   306

Definition at line 320 of file microhttpd.h.

◆ MHD_HTTP_SWITCHING_PROTOCOLS

#define MHD_HTTP_SWITCHING_PROTOCOLS   101

Definition at line 302 of file microhttpd.h.

Referenced by MHD_queue_response().

◆ MHD_HTTP_TEMPORARY_REDIRECT

#define MHD_HTTP_TEMPORARY_REDIRECT   307

Definition at line 321 of file microhttpd.h.

◆ MHD_HTTP_UNAUTHORIZED

#define MHD_HTTP_UNAUTHORIZED   401

◆ MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS

#define MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS   451

Definition at line 353 of file microhttpd.h.

◆ MHD_HTTP_UNORDERED_COLLECTION

#define MHD_HTTP_UNORDERED_COLLECTION   425

Definition at line 348 of file microhttpd.h.

◆ MHD_HTTP_UNPROCESSABLE_ENTITY

#define MHD_HTTP_UNPROCESSABLE_ENTITY   422

Definition at line 345 of file microhttpd.h.

◆ MHD_HTTP_UNSUPPORTED_MEDIA_TYPE

#define MHD_HTTP_UNSUPPORTED_MEDIA_TYPE   415

Definition at line 342 of file microhttpd.h.

◆ MHD_HTTP_UPGRADE_REQUIRED

#define MHD_HTTP_UPGRADE_REQUIRED   426

Definition at line 349 of file microhttpd.h.

◆ MHD_HTTP_USE_PROXY

#define MHD_HTTP_USE_PROXY   305

Definition at line 319 of file microhttpd.h.

◆ MHD_HTTP_VARIANT_ALSO_NEGOTIATES

#define MHD_HTTP_VARIANT_ALSO_NEGOTIATES   506

Definition at line 361 of file microhttpd.h.