aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-10-02 16:40:14 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-10-02 18:10:11 +0300
commite25a7fa283e01510c5dbd52219d911b29080835f (patch)
tree87cd0589760977b5904c0bc4c6b1b92a80e09e69 /src/include/microhttpd.h
parent1ba86164a201e2138fef78130688dabce8b6ceaf (diff)
downloadlibmicrohttpd-e25a7fa283e01510c5dbd52219d911b29080835f.tar.gz
libmicrohttpd-e25a7fa283e01510c5dbd52219d911b29080835f.zip
Updated HTTP methods, headers and reason phrases
Added HTTP methods sorting
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h729
1 files changed, 384 insertions, 345 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 925f2a88..32d0bd31 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -327,32 +327,32 @@ _MHD_DEPR_MACRO ( \
327 * @defgroup httpcode HTTP response codes. 327 * @defgroup httpcode HTTP response codes.
328 * These are the status codes defined for HTTP responses. 328 * These are the status codes defined for HTTP responses.
329 * See: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml 329 * See: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
330 * Registry export date: 2021-12-19 330 * Registry export date: 2023-09-29
331 * @{ 331 * @{
332 */ 332 */
333 333
334/* 100 "Continue". RFC-ietf-httpbis-semantics, Section 15.2.1. */ 334/* 100 "Continue". RFC9110, Section 15.2.1. */
335#define MHD_HTTP_CONTINUE 100 335#define MHD_HTTP_CONTINUE 100
336/* 101 "Switching Protocols". RFC-ietf-httpbis-semantics, Section 15.2.2. */ 336/* 101 "Switching Protocols". RFC9110, Section 15.2.2. */
337#define MHD_HTTP_SWITCHING_PROTOCOLS 101 337#define MHD_HTTP_SWITCHING_PROTOCOLS 101
338/* 102 "Processing". RFC2518. */ 338/* 102 "Processing". RFC2518. */
339#define MHD_HTTP_PROCESSING 102 339#define MHD_HTTP_PROCESSING 102
340/* 103 "Early Hints". RFC8297. */ 340/* 103 "Early Hints". RFC8297. */
341#define MHD_HTTP_EARLY_HINTS 103 341#define MHD_HTTP_EARLY_HINTS 103
342 342
343/* 200 "OK". RFC-ietf-httpbis-semantics, Section 15.3.1. */ 343/* 200 "OK". RFC9110, Section 15.3.1. */
344#define MHD_HTTP_OK 200 344#define MHD_HTTP_OK 200
345/* 201 "Created". RFC-ietf-httpbis-semantics, Section 15.3.2. */ 345/* 201 "Created". RFC9110, Section 15.3.2. */
346#define MHD_HTTP_CREATED 201 346#define MHD_HTTP_CREATED 201
347/* 202 "Accepted". RFC-ietf-httpbis-semantics, Section 15.3.3. */ 347/* 202 "Accepted". RFC9110, Section 15.3.3. */
348#define MHD_HTTP_ACCEPTED 202 348#define MHD_HTTP_ACCEPTED 202
349/* 203 "Non-Authoritative Information". RFC-ietf-httpbis-semantics, Section 15.3.4. */ 349/* 203 "Non-Authoritative Information". RFC9110, Section 15.3.4. */
350#define MHD_HTTP_NON_AUTHORITATIVE_INFORMATION 203 350#define MHD_HTTP_NON_AUTHORITATIVE_INFORMATION 203
351/* 204 "No Content". RFC-ietf-httpbis-semantics, Section 15.3.5. */ 351/* 204 "No Content". RFC9110, Section 15.3.5. */
352#define MHD_HTTP_NO_CONTENT 204 352#define MHD_HTTP_NO_CONTENT 204
353/* 205 "Reset Content". RFC-ietf-httpbis-semantics, Section 15.3.6. */ 353/* 205 "Reset Content". RFC9110, Section 15.3.6. */
354#define MHD_HTTP_RESET_CONTENT 205 354#define MHD_HTTP_RESET_CONTENT 205
355/* 206 "Partial Content". RFC-ietf-httpbis-semantics, Section 15.3.7. */ 355/* 206 "Partial Content". RFC9110, Section 15.3.7. */
356#define MHD_HTTP_PARTIAL_CONTENT 206 356#define MHD_HTTP_PARTIAL_CONTENT 206
357/* 207 "Multi-Status". RFC4918. */ 357/* 207 "Multi-Status". RFC4918. */
358#define MHD_HTTP_MULTI_STATUS 207 358#define MHD_HTTP_MULTI_STATUS 207
@@ -362,66 +362,66 @@ _MHD_DEPR_MACRO ( \
362/* 226 "IM Used". RFC3229. */ 362/* 226 "IM Used". RFC3229. */
363#define MHD_HTTP_IM_USED 226 363#define MHD_HTTP_IM_USED 226
364 364
365/* 300 "Multiple Choices". RFC-ietf-httpbis-semantics, Section 15.4.1. */ 365/* 300 "Multiple Choices". RFC9110, Section 15.4.1. */
366#define MHD_HTTP_MULTIPLE_CHOICES 300 366#define MHD_HTTP_MULTIPLE_CHOICES 300
367/* 301 "Moved Permanently". RFC-ietf-httpbis-semantics, Section 15.4.2. */ 367/* 301 "Moved Permanently". RFC9110, Section 15.4.2. */
368#define MHD_HTTP_MOVED_PERMANENTLY 301 368#define MHD_HTTP_MOVED_PERMANENTLY 301
369/* 302 "Found". RFC-ietf-httpbis-semantics, Section 15.4.3. */ 369/* 302 "Found". RFC9110, Section 15.4.3. */
370#define MHD_HTTP_FOUND 302 370#define MHD_HTTP_FOUND 302
371/* 303 "See Other". RFC-ietf-httpbis-semantics, Section 15.4.4. */ 371/* 303 "See Other". RFC9110, Section 15.4.4. */
372#define MHD_HTTP_SEE_OTHER 303 372#define MHD_HTTP_SEE_OTHER 303
373/* 304 "Not Modified". RFC-ietf-httpbis-semantics, Section 15.4.5. */ 373/* 304 "Not Modified". RFC9110, Section 15.4.5. */
374#define MHD_HTTP_NOT_MODIFIED 304 374#define MHD_HTTP_NOT_MODIFIED 304
375/* 305 "Use Proxy". RFC-ietf-httpbis-semantics, Section 15.4.6. */ 375/* 305 "Use Proxy". RFC9110, Section 15.4.6. */
376#define MHD_HTTP_USE_PROXY 305 376#define MHD_HTTP_USE_PROXY 305
377/* 306 "Switch Proxy". Not used! RFC-ietf-httpbis-semantics, Section 15.4.7. */ 377/* 306 "Switch Proxy". Not used! RFC9110, Section 15.4.7. */
378#define MHD_HTTP_SWITCH_PROXY 306 378#define MHD_HTTP_SWITCH_PROXY 306
379/* 307 "Temporary Redirect". RFC-ietf-httpbis-semantics, Section 15.4.8. */ 379/* 307 "Temporary Redirect". RFC9110, Section 15.4.8. */
380#define MHD_HTTP_TEMPORARY_REDIRECT 307 380#define MHD_HTTP_TEMPORARY_REDIRECT 307
381/* 308 "Permanent Redirect". RFC-ietf-httpbis-semantics, Section 15.4.9. */ 381/* 308 "Permanent Redirect". RFC9110, Section 15.4.9. */
382#define MHD_HTTP_PERMANENT_REDIRECT 308 382#define MHD_HTTP_PERMANENT_REDIRECT 308
383 383
384/* 400 "Bad Request". RFC-ietf-httpbis-semantics, Section 15.5.1. */ 384/* 400 "Bad Request". RFC9110, Section 15.5.1. */
385#define MHD_HTTP_BAD_REQUEST 400 385#define MHD_HTTP_BAD_REQUEST 400
386/* 401 "Unauthorized". RFC-ietf-httpbis-semantics, Section 15.5.2. */ 386/* 401 "Unauthorized". RFC9110, Section 15.5.2. */
387#define MHD_HTTP_UNAUTHORIZED 401 387#define MHD_HTTP_UNAUTHORIZED 401
388/* 402 "Payment Required". RFC-ietf-httpbis-semantics, Section 15.5.3. */ 388/* 402 "Payment Required". RFC9110, Section 15.5.3. */
389#define MHD_HTTP_PAYMENT_REQUIRED 402 389#define MHD_HTTP_PAYMENT_REQUIRED 402
390/* 403 "Forbidden". RFC-ietf-httpbis-semantics, Section 15.5.4. */ 390/* 403 "Forbidden". RFC9110, Section 15.5.4. */
391#define MHD_HTTP_FORBIDDEN 403 391#define MHD_HTTP_FORBIDDEN 403
392/* 404 "Not Found". RFC-ietf-httpbis-semantics, Section 15.5.5. */ 392/* 404 "Not Found". RFC9110, Section 15.5.5. */
393#define MHD_HTTP_NOT_FOUND 404 393#define MHD_HTTP_NOT_FOUND 404
394/* 405 "Method Not Allowed". RFC-ietf-httpbis-semantics, Section 15.5.6. */ 394/* 405 "Method Not Allowed". RFC9110, Section 15.5.6. */
395#define MHD_HTTP_METHOD_NOT_ALLOWED 405 395#define MHD_HTTP_METHOD_NOT_ALLOWED 405
396/* 406 "Not Acceptable". RFC-ietf-httpbis-semantics, Section 15.5.7. */ 396/* 406 "Not Acceptable". RFC9110, Section 15.5.7. */
397#define MHD_HTTP_NOT_ACCEPTABLE 406 397#define MHD_HTTP_NOT_ACCEPTABLE 406
398/* 407 "Proxy Authentication Required". RFC-ietf-httpbis-semantics, Section 15.5.8. */ 398/* 407 "Proxy Authentication Required". RFC9110, Section 15.5.8. */
399#define MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED 407 399#define MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED 407
400/* 408 "Request Timeout". RFC-ietf-httpbis-semantics, Section 15.5.9. */ 400/* 408 "Request Timeout". RFC9110, Section 15.5.9. */
401#define MHD_HTTP_REQUEST_TIMEOUT 408 401#define MHD_HTTP_REQUEST_TIMEOUT 408
402/* 409 "Conflict". RFC-ietf-httpbis-semantics, Section 15.5.10. */ 402/* 409 "Conflict". RFC9110, Section 15.5.10. */
403#define MHD_HTTP_CONFLICT 409 403#define MHD_HTTP_CONFLICT 409
404/* 410 "Gone". RFC-ietf-httpbis-semantics, Section 15.5.11. */ 404/* 410 "Gone". RFC9110, Section 15.5.11. */
405#define MHD_HTTP_GONE 410 405#define MHD_HTTP_GONE 410
406/* 411 "Length Required". RFC-ietf-httpbis-semantics, Section 15.5.12. */ 406/* 411 "Length Required". RFC9110, Section 15.5.12. */
407#define MHD_HTTP_LENGTH_REQUIRED 411 407#define MHD_HTTP_LENGTH_REQUIRED 411
408/* 412 "Precondition Failed". RFC-ietf-httpbis-semantics, Section 15.5.13. */ 408/* 412 "Precondition Failed". RFC9110, Section 15.5.13. */
409#define MHD_HTTP_PRECONDITION_FAILED 412 409#define MHD_HTTP_PRECONDITION_FAILED 412
410/* 413 "Content Too Large". RFC-ietf-httpbis-semantics, Section 15.5.14. */ 410/* 413 "Content Too Large". RFC9110, Section 15.5.14. */
411#define MHD_HTTP_CONTENT_TOO_LARGE 413 411#define MHD_HTTP_CONTENT_TOO_LARGE 413
412/* 414 "URI Too Long". RFC-ietf-httpbis-semantics, Section 15.5.15. */ 412/* 414 "URI Too Long". RFC9110, Section 15.5.15. */
413#define MHD_HTTP_URI_TOO_LONG 414 413#define MHD_HTTP_URI_TOO_LONG 414
414/* 415 "Unsupported Media Type". RFC-ietf-httpbis-semantics, Section 15.5.16. */ 414/* 415 "Unsupported Media Type". RFC9110, Section 15.5.16. */
415#define MHD_HTTP_UNSUPPORTED_MEDIA_TYPE 415 415#define MHD_HTTP_UNSUPPORTED_MEDIA_TYPE 415
416/* 416 "Range Not Satisfiable". RFC-ietf-httpbis-semantics, Section 15.5.17. */ 416/* 416 "Range Not Satisfiable". RFC9110, Section 15.5.17. */
417#define MHD_HTTP_RANGE_NOT_SATISFIABLE 416 417#define MHD_HTTP_RANGE_NOT_SATISFIABLE 416
418/* 417 "Expectation Failed". RFC-ietf-httpbis-semantics, Section 15.5.18. */ 418/* 417 "Expectation Failed". RFC9110, Section 15.5.18. */
419#define MHD_HTTP_EXPECTATION_FAILED 417 419#define MHD_HTTP_EXPECTATION_FAILED 417
420 420
421 421
422/* 421 "Misdirected Request". RFC-ietf-httpbis-semantics, Section 15.5.20. */ 422/* 421 "Misdirected Request". RFC9110, Section 15.5.20. */
423#define MHD_HTTP_MISDIRECTED_REQUEST 421 423#define MHD_HTTP_MISDIRECTED_REQUEST 421
424/* 422 "Unprocessable Content". RFC-ietf-httpbis-semantics, Section 15.5.21. */ 424/* 422 "Unprocessable Content". RFC9110, Section 15.5.21. */
425#define MHD_HTTP_UNPROCESSABLE_CONTENT 422 425#define MHD_HTTP_UNPROCESSABLE_CONTENT 422
426/* 423 "Locked". RFC4918. */ 426/* 423 "Locked". RFC4918. */
427#define MHD_HTTP_LOCKED 423 427#define MHD_HTTP_LOCKED 423
@@ -429,7 +429,7 @@ _MHD_DEPR_MACRO ( \
429#define MHD_HTTP_FAILED_DEPENDENCY 424 429#define MHD_HTTP_FAILED_DEPENDENCY 424
430/* 425 "Too Early". RFC8470. */ 430/* 425 "Too Early". RFC8470. */
431#define MHD_HTTP_TOO_EARLY 425 431#define MHD_HTTP_TOO_EARLY 425
432/* 426 "Upgrade Required". RFC-ietf-httpbis-semantics, Section 15.5.22. */ 432/* 426 "Upgrade Required". RFC9110, Section 15.5.22. */
433#define MHD_HTTP_UPGRADE_REQUIRED 426 433#define MHD_HTTP_UPGRADE_REQUIRED 426
434 434
435/* 428 "Precondition Required". RFC6585. */ 435/* 428 "Precondition Required". RFC6585. */
@@ -443,17 +443,17 @@ _MHD_DEPR_MACRO ( \
443/* 451 "Unavailable For Legal Reasons". RFC7725. */ 443/* 451 "Unavailable For Legal Reasons". RFC7725. */
444#define MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS 451 444#define MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS 451
445 445
446/* 500 "Internal Server Error". RFC-ietf-httpbis-semantics, Section 15.6.1. */ 446/* 500 "Internal Server Error". RFC9110, Section 15.6.1. */
447#define MHD_HTTP_INTERNAL_SERVER_ERROR 500 447#define MHD_HTTP_INTERNAL_SERVER_ERROR 500
448/* 501 "Not Implemented". RFC-ietf-httpbis-semantics, Section 15.6.2. */ 448/* 501 "Not Implemented". RFC9110, Section 15.6.2. */
449#define MHD_HTTP_NOT_IMPLEMENTED 501 449#define MHD_HTTP_NOT_IMPLEMENTED 501
450/* 502 "Bad Gateway". RFC-ietf-httpbis-semantics, Section 15.6.3. */ 450/* 502 "Bad Gateway". RFC9110, Section 15.6.3. */
451#define MHD_HTTP_BAD_GATEWAY 502 451#define MHD_HTTP_BAD_GATEWAY 502
452/* 503 "Service Unavailable". RFC-ietf-httpbis-semantics, Section 15.6.4. */ 452/* 503 "Service Unavailable". RFC9110, Section 15.6.4. */
453#define MHD_HTTP_SERVICE_UNAVAILABLE 503 453#define MHD_HTTP_SERVICE_UNAVAILABLE 503
454/* 504 "Gateway Timeout". RFC-ietf-httpbis-semantics, Section 15.6.5. */ 454/* 504 "Gateway Timeout". RFC9110, Section 15.6.5. */
455#define MHD_HTTP_GATEWAY_TIMEOUT 504 455#define MHD_HTTP_GATEWAY_TIMEOUT 504
456/* 505 "HTTP Version Not Supported". RFC-ietf-httpbis-semantics, Section 15.6.6. */ 456/* 505 "HTTP Version Not Supported". RFC9110, Section 15.6.6. */
457#define MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED 505 457#define MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED 505
458/* 506 "Variant Also Negotiates". RFC2295. */ 458/* 506 "Variant Also Negotiates". RFC2295. */
459#define MHD_HTTP_VARIANT_ALSO_NEGOTIATES 506 459#define MHD_HTTP_VARIANT_ALSO_NEGOTIATES 506
@@ -462,7 +462,7 @@ _MHD_DEPR_MACRO ( \
462/* 508 "Loop Detected". RFC5842. */ 462/* 508 "Loop Detected". RFC5842. */
463#define MHD_HTTP_LOOP_DETECTED 508 463#define MHD_HTTP_LOOP_DETECTED 508
464 464
465/* 510 "Not Extended". RFC2774. */ 465/* 510 "Not Extended". (OBSOLETED) RFC2774; status-change-http-experiments-to-historic. */
466#define MHD_HTTP_NOT_EXTENDED 510 466#define MHD_HTTP_NOT_EXTENDED 510
467/* 511 "Network Authentication Required". RFC6585. */ 467/* 511 "Network Authentication Required". RFC6585. */
468#define MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED 511 468#define MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED 511
@@ -544,283 +544,273 @@ MHD_get_reason_phrase_len_for (unsigned int code);
544/** 544/**
545 * Flag to be or-ed with MHD_HTTP status code for 545 * Flag to be or-ed with MHD_HTTP status code for
546 * SHOUTcast. This will cause the response to begin 546 * SHOUTcast. This will cause the response to begin
547 * with the SHOUTcast "ICY" line instead of "HTTP". 547 * with the SHOUTcast "ICY" line instead of "HTTP/1.x".
548 * @ingroup specialized 548 * @ingroup specialized
549 */ 549 */
550#define MHD_ICY_FLAG ((uint32_t) (((uint32_t) 1) << 31)) 550#define MHD_ICY_FLAG ((uint32_t) (((uint32_t) 1) << 31))
551 551
552/** 552/**
553 * @defgroup headers HTTP headers 553 * @defgroup headers HTTP headers
554 * These are the standard headers found in HTTP requests and responses. 554 * The standard headers found in HTTP requests and responses.
555 * See: https://www.iana.org/assignments/http-fields/http-fields.xhtml 555 * See: https://www.iana.org/assignments/http-fields/http-fields.xhtml
556 * Registry export date: 2021-12-19 556 * Registry export date: 2023-10-02
557 * @{ 557 * @{
558 */ 558 */
559 559
560/* Main HTTP headers. */ 560/* Main HTTP headers. */
561/* Permanent. RFC-ietf-httpbis-semantics-19, Section 12.5.1 */ 561/* Permanent. RFC9110, Section 12.5.1: HTTP Semantics */
562#define MHD_HTTP_HEADER_ACCEPT "Accept" 562#define MHD_HTTP_HEADER_ACCEPT "Accept"
563/* Deprecated. RFC-ietf-httpbis-semantics-19, Section 12.5.2 */ 563/* Deprecated. RFC9110, Section 12.5.2: HTTP Semantics */
564#define MHD_HTTP_HEADER_ACCEPT_CHARSET "Accept-Charset" 564#define MHD_HTTP_HEADER_ACCEPT_CHARSET "Accept-Charset"
565/* Permanent. RFC-ietf-httpbis-semantics-19, Section 12.5.3 */ 565/* Permanent. RFC9110, Section 12.5.3: HTTP Semantics */
566#define MHD_HTTP_HEADER_ACCEPT_ENCODING "Accept-Encoding" 566#define MHD_HTTP_HEADER_ACCEPT_ENCODING "Accept-Encoding"
567/* Permanent. RFC-ietf-httpbis-semantics-19, Section 12.5.4 */ 567/* Permanent. RFC9110, Section 12.5.4: HTTP Semantics */
568#define MHD_HTTP_HEADER_ACCEPT_LANGUAGE "Accept-Language" 568#define MHD_HTTP_HEADER_ACCEPT_LANGUAGE "Accept-Language"
569/* Permanent. RFC-ietf-httpbis-semantics-19, Section 14.3 */ 569/* Permanent. RFC9110, Section 14.3: HTTP Semantics */
570#define MHD_HTTP_HEADER_ACCEPT_RANGES "Accept-Ranges" 570#define MHD_HTTP_HEADER_ACCEPT_RANGES "Accept-Ranges"
571/* Permanent. RFC-ietf-httpbis-cache-19, Section 5.1 */ 571/* Permanent. RFC9111, Section 5.1: HTTP Caching */
572#define MHD_HTTP_HEADER_AGE "Age" 572#define MHD_HTTP_HEADER_AGE "Age"
573/* Permanent. RFC-ietf-httpbis-semantics-19, Section 10.2.1 */ 573/* Permanent. RFC9110, Section 10.2.1: HTTP Semantics */
574#define MHD_HTTP_HEADER_ALLOW "Allow" 574#define MHD_HTTP_HEADER_ALLOW "Allow"
575/* Permanent. RFC-ietf-httpbis-semantics-19, Section 11.6.3 */ 575/* Permanent. RFC9110, Section 11.6.3: HTTP Semantics */
576#define MHD_HTTP_HEADER_AUTHENTICATION_INFO "Authentication-Info" 576#define MHD_HTTP_HEADER_AUTHENTICATION_INFO "Authentication-Info"
577/* Permanent. RFC-ietf-httpbis-semantics-19, Section 11.6.2 */ 577/* Permanent. RFC9110, Section 11.6.2: HTTP Semantics */
578#define MHD_HTTP_HEADER_AUTHORIZATION "Authorization" 578#define MHD_HTTP_HEADER_AUTHORIZATION "Authorization"
579/* Permanent. RFC-ietf-httpbis-cache-19, Section 5.2 */ 579/* Permanent. RFC9111, Section 5.2 */
580#define MHD_HTTP_HEADER_CACHE_CONTROL "Cache-Control" 580#define MHD_HTTP_HEADER_CACHE_CONTROL "Cache-Control"
581/* Permanent. RFC-ietf-httpbis-cache-header-10 */ 581/* Permanent. RFC9112, Section 9.6: HTTP/1.1 */
582#define MHD_HTTP_HEADER_CACHE_STATUS "Cache-Status"
583/* Permanent. RFC-ietf-httpbis-messaging-19, Section 9.6 */
584#define MHD_HTTP_HEADER_CLOSE "Close" 582#define MHD_HTTP_HEADER_CLOSE "Close"
585/* Permanent. RFC-ietf-httpbis-semantics-19, Section 7.6.1 */ 583/* Permanent. RFC9110, Section 7.6.1: HTTP Semantics */
586#define MHD_HTTP_HEADER_CONNECTION "Connection" 584#define MHD_HTTP_HEADER_CONNECTION "Connection"
587/* Permanent. RFC-ietf-httpbis-semantics-19, Section 8.4 */ 585/* Permanent. RFC9110, Section 8.4: HTTP Semantics */
588#define MHD_HTTP_HEADER_CONTENT_ENCODING "Content-Encoding" 586#define MHD_HTTP_HEADER_CONTENT_ENCODING "Content-Encoding"
589/* Permanent. RFC-ietf-httpbis-semantics-19, Section 8.5 */ 587/* Permanent. RFC9110, Section 8.5: HTTP Semantics */
590#define MHD_HTTP_HEADER_CONTENT_LANGUAGE "Content-Language" 588#define MHD_HTTP_HEADER_CONTENT_LANGUAGE "Content-Language"
591/* Permanent. RFC-ietf-httpbis-semantics-19, Section 8.6 */ 589/* Permanent. RFC9110, Section 8.6: HTTP Semantics */
592#define MHD_HTTP_HEADER_CONTENT_LENGTH "Content-Length" 590#define MHD_HTTP_HEADER_CONTENT_LENGTH "Content-Length"
593/* Permanent. RFC-ietf-httpbis-semantics-19, Section 8.7 */ 591/* Permanent. RFC9110, Section 8.7: HTTP Semantics */
594#define MHD_HTTP_HEADER_CONTENT_LOCATION "Content-Location" 592#define MHD_HTTP_HEADER_CONTENT_LOCATION "Content-Location"
595/* Permanent. RFC-ietf-httpbis-semantics-19, Section 14.4 */ 593/* Permanent. RFC9110, Section 14.4: HTTP Semantics */
596#define MHD_HTTP_HEADER_CONTENT_RANGE "Content-Range" 594#define MHD_HTTP_HEADER_CONTENT_RANGE "Content-Range"
597/* Permanent. RFC-ietf-httpbis-semantics-19, Section 8.3 */ 595/* Permanent. RFC9110, Section 8.3: HTTP Semantics */
598#define MHD_HTTP_HEADER_CONTENT_TYPE "Content-Type" 596#define MHD_HTTP_HEADER_CONTENT_TYPE "Content-Type"
599/* Permanent. RFC-ietf-httpbis-semantics-19, Section 6.6.1 */ 597/* Permanent. RFC9110, Section 6.6.1: HTTP Semantics */
600#define MHD_HTTP_HEADER_DATE "Date" 598#define MHD_HTTP_HEADER_DATE "Date"
601/* Permanent. RFC-ietf-httpbis-semantics-19, Section 8.8.3 */ 599/* Permanent. RFC9110, Section 8.8.3: HTTP Semantics */
602#define MHD_HTTP_HEADER_ETAG "ETag" 600#define MHD_HTTP_HEADER_ETAG "ETag"
603/* Permanent. RFC-ietf-httpbis-semantics-19, Section 10.1.1 */ 601/* Permanent. RFC9110, Section 10.1.1: HTTP Semantics */
604#define MHD_HTTP_HEADER_EXPECT "Expect" 602#define MHD_HTTP_HEADER_EXPECT "Expect"
605/* Permanent. RFC-ietf-httpbis-expect-ct-08 */ 603/* Permanent. RFC9111, Section 5.3: HTTP Caching */
606#define MHD_HTTP_HEADER_EXPECT_CT "Expect-CT"
607/* Permanent. RFC-ietf-httpbis-cache-19, Section 5.3 */
608#define MHD_HTTP_HEADER_EXPIRES "Expires" 604#define MHD_HTTP_HEADER_EXPIRES "Expires"
609/* Permanent. RFC-ietf-httpbis-semantics-19, Section 10.1.2 */ 605/* Permanent. RFC9110, Section 10.1.2: HTTP Semantics */
610#define MHD_HTTP_HEADER_FROM "From" 606#define MHD_HTTP_HEADER_FROM "From"
611/* Permanent. RFC-ietf-httpbis-semantics-19, Section 7.2 */ 607/* Permanent. RFC9110, Section 7.2: HTTP Semantics */
612#define MHD_HTTP_HEADER_HOST "Host" 608#define MHD_HTTP_HEADER_HOST "Host"
613/* Permanent. RFC-ietf-httpbis-semantics-19, Section 13.1.1 */ 609/* Permanent. RFC9110, Section 13.1.1: HTTP Semantics */
614#define MHD_HTTP_HEADER_IF_MATCH "If-Match" 610#define MHD_HTTP_HEADER_IF_MATCH "If-Match"
615/* Permanent. RFC-ietf-httpbis-semantics-19, Section 13.1.3 */ 611/* Permanent. RFC9110, Section 13.1.3: HTTP Semantics */
616#define MHD_HTTP_HEADER_IF_MODIFIED_SINCE "If-Modified-Since" 612#define MHD_HTTP_HEADER_IF_MODIFIED_SINCE "If-Modified-Since"
617/* Permanent. RFC-ietf-httpbis-semantics-19, Section 13.1.2 */ 613/* Permanent. RFC9110, Section 13.1.2: HTTP Semantics */
618#define MHD_HTTP_HEADER_IF_NONE_MATCH "If-None-Match" 614#define MHD_HTTP_HEADER_IF_NONE_MATCH "If-None-Match"
619/* Permanent. RFC-ietf-httpbis-semantics-19, Section 13.1.5 */ 615/* Permanent. RFC9110, Section 13.1.5: HTTP Semantics */
620#define MHD_HTTP_HEADER_IF_RANGE "If-Range" 616#define MHD_HTTP_HEADER_IF_RANGE "If-Range"
621/* Permanent. RFC-ietf-httpbis-semantics-19, Section 13.1.4 */ 617/* Permanent. RFC9110, Section 13.1.4: HTTP Semantics */
622#define MHD_HTTP_HEADER_IF_UNMODIFIED_SINCE "If-Unmodified-Since" 618#define MHD_HTTP_HEADER_IF_UNMODIFIED_SINCE "If-Unmodified-Since"
623/* Permanent. RFC-ietf-httpbis-semantics-19, Section 8.8.2 */ 619/* Permanent. RFC9110, Section 8.8.2: HTTP Semantics */
624#define MHD_HTTP_HEADER_LAST_MODIFIED "Last-Modified" 620#define MHD_HTTP_HEADER_LAST_MODIFIED "Last-Modified"
625/* Permanent. RFC-ietf-httpbis-semantics-19, Section 10.2.2 */ 621/* Permanent. RFC9110, Section 10.2.2: HTTP Semantics */
626#define MHD_HTTP_HEADER_LOCATION "Location" 622#define MHD_HTTP_HEADER_LOCATION "Location"
627/* Permanent. RFC-ietf-httpbis-semantics-19, Section 7.6.2 */ 623/* Permanent. RFC9110, Section 7.6.2: HTTP Semantics */
628#define MHD_HTTP_HEADER_MAX_FORWARDS "Max-Forwards" 624#define MHD_HTTP_HEADER_MAX_FORWARDS "Max-Forwards"
629/* Permanent. RFC-ietf-httpbis-messaging-19, Appendix B.1 */ 625/* Permanent. RFC9112, Appendix B.1: HTTP/1.1 */
630#define MHD_HTTP_HEADER_MIME_VERSION "MIME-Version" 626#define MHD_HTTP_HEADER_MIME_VERSION "MIME-Version"
631/* Permanent. RFC-ietf-httpbis-cache-19, Section 5.4 */ 627/* Deprecated. RFC9111, Section 5.4: HTTP Caching */
632#define MHD_HTTP_HEADER_PRAGMA "Pragma" 628#define MHD_HTTP_HEADER_PRAGMA "Pragma"
633/* Permanent. RFC-ietf-httpbis-semantics-19, Section 11.7.1 */ 629/* Permanent. RFC9110, Section 11.7.1: HTTP Semantics */
634#define MHD_HTTP_HEADER_PROXY_AUTHENTICATE "Proxy-Authenticate" 630#define MHD_HTTP_HEADER_PROXY_AUTHENTICATE "Proxy-Authenticate"
635/* Permanent. RFC-ietf-httpbis-semantics-19, Section 11.7.3 */ 631/* Permanent. RFC9110, Section 11.7.3: HTTP Semantics */
636#define MHD_HTTP_HEADER_PROXY_AUTHENTICATION_INFO "Proxy-Authentication-Info" 632#define MHD_HTTP_HEADER_PROXY_AUTHENTICATION_INFO "Proxy-Authentication-Info"
637/* Permanent. RFC-ietf-httpbis-semantics-19, Section 11.7.2 */ 633/* Permanent. RFC9110, Section 11.7.2: HTTP Semantics */
638#define MHD_HTTP_HEADER_PROXY_AUTHORIZATION "Proxy-Authorization" 634#define MHD_HTTP_HEADER_PROXY_AUTHORIZATION "Proxy-Authorization"
639/* Permanent. RFC-ietf-httpbis-proxy-status-08 */ 635/* Permanent. RFC9110, Section 14.2: HTTP Semantics */
640#define MHD_HTTP_HEADER_PROXY_STATUS "Proxy-Status"
641/* Permanent. RFC-ietf-httpbis-semantics-19, Section 14.2 */
642#define MHD_HTTP_HEADER_RANGE "Range" 636#define MHD_HTTP_HEADER_RANGE "Range"
643/* Permanent. RFC-ietf-httpbis-semantics-19, Section 10.1.3 */ 637/* Permanent. RFC9110, Section 10.1.3: HTTP Semantics */
644#define MHD_HTTP_HEADER_REFERER "Referer" 638#define MHD_HTTP_HEADER_REFERER "Referer"
645/* Permanent. RFC-ietf-httpbis-semantics-19, Section 10.2.3 */ 639/* Permanent. RFC9110, Section 10.2.3: HTTP Semantics */
646#define MHD_HTTP_HEADER_RETRY_AFTER "Retry-After" 640#define MHD_HTTP_HEADER_RETRY_AFTER "Retry-After"
647/* Permanent. RFC-ietf-httpbis-semantics-19, Section 10.2.4 */ 641/* Permanent. RFC9110, Section 10.2.4: HTTP Semantics */
648#define MHD_HTTP_HEADER_SERVER "Server" 642#define MHD_HTTP_HEADER_SERVER "Server"
649/* Permanent. RFC-ietf-httpbis-semantics-19, Section 10.1.4 */ 643/* Permanent. RFC9110, Section 10.1.4: HTTP Semantics */
650#define MHD_HTTP_HEADER_TE "TE" 644#define MHD_HTTP_HEADER_TE "TE"
651/* Permanent. RFC-ietf-httpbis-semantics-19, Section 6.6.2 */ 645/* Permanent. RFC9110, Section 6.6.2: HTTP Semantics */
652#define MHD_HTTP_HEADER_TRAILER "Trailer" 646#define MHD_HTTP_HEADER_TRAILER "Trailer"
653/* Permanent. RFC-ietf-httpbis-messaging-19, Section 6.1 */ 647/* Permanent. RFC9112, Section 6.1: HTTP Semantics */
654#define MHD_HTTP_HEADER_TRANSFER_ENCODING "Transfer-Encoding" 648#define MHD_HTTP_HEADER_TRANSFER_ENCODING "Transfer-Encoding"
655/* Permanent. RFC-ietf-httpbis-semantics-19, Section 7.8 */ 649/* Permanent. RFC9110, Section 7.8: HTTP Semantics */
656#define MHD_HTTP_HEADER_UPGRADE "Upgrade" 650#define MHD_HTTP_HEADER_UPGRADE "Upgrade"
657/* Permanent. RFC-ietf-httpbis-semantics-19, Section 10.1.5 */ 651/* Permanent. RFC9110, Section 10.1.5: HTTP Semantics */
658#define MHD_HTTP_HEADER_USER_AGENT "User-Agent" 652#define MHD_HTTP_HEADER_USER_AGENT "User-Agent"
659/* Permanent. RFC-ietf-httpbis-semantics-19, Section 12.5.5 */ 653/* Permanent. RFC9110, Section 12.5.5: HTTP Semantics */
660#define MHD_HTTP_HEADER_VARY "Vary" 654#define MHD_HTTP_HEADER_VARY "Vary"
661/* Permanent. RFC-ietf-httpbis-semantics-19, Section 7.6.3 */ 655/* Permanent. RFC9110, Section 7.6.3: HTTP Semantics */
662#define MHD_HTTP_HEADER_VIA "Via" 656#define MHD_HTTP_HEADER_VIA "Via"
663/* Obsoleted. RFC-ietf-httpbis-cache-19, Section 5.5 */ 657/* Permanent. RFC9110, Section 11.6.1: HTTP Semantics */
664#define MHD_HTTP_HEADER_WARNING "Warning"
665/* Permanent. RFC-ietf-httpbis-semantics-19, Section 11.6.1 */
666#define MHD_HTTP_HEADER_WWW_AUTHENTICATE "WWW-Authenticate" 658#define MHD_HTTP_HEADER_WWW_AUTHENTICATE "WWW-Authenticate"
667/* Permanent. RFC-ietf-httpbis-semantics-19, Section 12.5.5 */ 659/* Permanent. RFC9110, Section 12.5.5: HTTP Semantics */
668#define MHD_HTTP_HEADER_ASTERISK "*" 660#define MHD_HTTP_HEADER_ASTERISK "*"
669 661
670/* Additional HTTP headers. */ 662/* Additional HTTP headers. */
671/* Permanent. RFC4229 */ 663/* Permanent. RFC 3229: Delta encoding in HTTP */
672#define MHD_HTTP_HEADER_A_IM "A-IM" 664#define MHD_HTTP_HEADER_A_IM "A-IM"
673/* Permanent. RFC4229 */ 665/* Permanent. RFC 2324: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0) */
674#define MHD_HTTP_HEADER_ACCEPT_ADDITIONS "Accept-Additions" 666#define MHD_HTTP_HEADER_ACCEPT_ADDITIONS "Accept-Additions"
675/* Permanent. RFC8942, Section 3.1 */ 667/* Permanent. RFC 8942, Section 3.1: HTTP Client Hints */
676#define MHD_HTTP_HEADER_ACCEPT_CH "Accept-CH" 668#define MHD_HTTP_HEADER_ACCEPT_CH "Accept-CH"
677/* Permanent. RFC7089 */ 669/* Permanent. RFC 7089: HTTP Framework for Time-Based Access to Resource States -- Memento */
678#define MHD_HTTP_HEADER_ACCEPT_DATETIME "Accept-Datetime" 670#define MHD_HTTP_HEADER_ACCEPT_DATETIME "Accept-Datetime"
679/* Permanent. RFC4229 */ 671/* Permanent. RFC 2295: Transparent Content Negotiation in HTTP */
680#define MHD_HTTP_HEADER_ACCEPT_FEATURES "Accept-Features" 672#define MHD_HTTP_HEADER_ACCEPT_FEATURES "Accept-Features"
681/* Permanent. https://www.w3.org/TR/ldp/ */ 673/* Permanent. RFC 5789: PATCH Method for HTTP */
674#define MHD_HTTP_HEADER_ACCEPT_PATCH "Accept-Patch"
675/* Permanent. Linked Data Platform 1.0 */
682#define MHD_HTTP_HEADER_ACCEPT_POST "Accept-Post" 676#define MHD_HTTP_HEADER_ACCEPT_POST "Accept-Post"
683/* Permanent. https://fetch.spec.whatwg.org/#http-access-control-allow-credentials */ 677/* Permanent. RFC-ietf-httpbis-message-signatures-19, Section 5.1: HTTP Message Signatures */
678#define MHD_HTTP_HEADER_ACCEPT_SIGNATURE "Accept-Signature"
679/* Permanent. Fetch */
684#define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS \ 680#define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS \
685 "Access-Control-Allow-Credentials" 681 "Access-Control-Allow-Credentials"
686/* Permanent. https://fetch.spec.whatwg.org/#http-access-control-allow-headers */ 682/* Permanent. Fetch */
687#define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_HEADERS \ 683#define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_HEADERS \
688 "Access-Control-Allow-Headers" 684 "Access-Control-Allow-Headers"
689/* Permanent. https://fetch.spec.whatwg.org/#http-access-control-allow-methods */ 685/* Permanent. Fetch */
690#define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_METHODS \ 686#define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_METHODS \
691 "Access-Control-Allow-Methods" 687 "Access-Control-Allow-Methods"
692/* Permanent. https://fetch.spec.whatwg.org/#http-access-control-allow-origin */ 688/* Permanent. Fetch */
693#define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN \ 689#define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN \
694 "Access-Control-Allow-Origin" 690 "Access-Control-Allow-Origin"
695/* Permanent. https://fetch.spec.whatwg.org/#http-access-control-expose-headers */ 691/* Permanent. Fetch */
696#define MHD_HTTP_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS \ 692#define MHD_HTTP_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS \
697 "Access-Control-Expose-Headers" 693 "Access-Control-Expose-Headers"
698/* Permanent. https://fetch.spec.whatwg.org/#http-access-control-max-age */ 694/* Permanent. Fetch */
699#define MHD_HTTP_HEADER_ACCESS_CONTROL_MAX_AGE "Access-Control-Max-Age" 695#define MHD_HTTP_HEADER_ACCESS_CONTROL_MAX_AGE "Access-Control-Max-Age"
700/* Permanent. https://fetch.spec.whatwg.org/#http-access-control-request-headers */ 696/* Permanent. Fetch */
701#define MHD_HTTP_HEADER_ACCESS_CONTROL_REQUEST_HEADERS \ 697#define MHD_HTTP_HEADER_ACCESS_CONTROL_REQUEST_HEADERS \
702 "Access-Control-Request-Headers" 698 "Access-Control-Request-Headers"
703/* Permanent. https://fetch.spec.whatwg.org/#http-access-control-request-method */ 699/* Permanent. Fetch */
704#define MHD_HTTP_HEADER_ACCESS_CONTROL_REQUEST_METHOD \ 700#define MHD_HTTP_HEADER_ACCESS_CONTROL_REQUEST_METHOD \
705 "Access-Control-Request-Method" 701 "Access-Control-Request-Method"
706/* Permanent. RFC7639, Section 2 */ 702/* Permanent. RFC 7639, Section 2: The ALPN HTTP Header Field */
707#define MHD_HTTP_HEADER_ALPN "ALPN" 703#define MHD_HTTP_HEADER_ALPN "ALPN"
708/* Permanent. RFC7838 */ 704/* Permanent. RFC 7838: HTTP Alternative Services */
709#define MHD_HTTP_HEADER_ALT_SVC "Alt-Svc" 705#define MHD_HTTP_HEADER_ALT_SVC "Alt-Svc"
710/* Permanent. RFC7838 */ 706/* Permanent. RFC 7838: HTTP Alternative Services */
711#define MHD_HTTP_HEADER_ALT_USED "Alt-Used" 707#define MHD_HTTP_HEADER_ALT_USED "Alt-Used"
712/* Permanent. RFC4229 */ 708/* Permanent. RFC 2295: Transparent Content Negotiation in HTTP */
713#define MHD_HTTP_HEADER_ALTERNATES "Alternates" 709#define MHD_HTTP_HEADER_ALTERNATES "Alternates"
714/* Permanent. RFC4437 */ 710/* Permanent. RFC 4437: Web Distributed Authoring and Versioning (WebDAV) Redirect Reference Resources */
715#define MHD_HTTP_HEADER_APPLY_TO_REDIRECT_REF "Apply-To-Redirect-Ref" 711#define MHD_HTTP_HEADER_APPLY_TO_REDIRECT_REF "Apply-To-Redirect-Ref"
716/* Permanent. RFC8053, Section 4 */ 712/* Permanent. RFC 8053, Section 4: HTTP Authentication Extensions for Interactive Clients */
717#define MHD_HTTP_HEADER_AUTHENTICATION_CONTROL "Authentication-Control" 713#define MHD_HTTP_HEADER_AUTHENTICATION_CONTROL "Authentication-Control"
718/* Permanent. RFC4229 */ 714/* Permanent. RFC9211: The Cache-Status HTTP Response Header Field */
719#define MHD_HTTP_HEADER_C_EXT "C-Ext" 715#define MHD_HTTP_HEADER_CACHE_STATUS "Cache-Status"
720/* Permanent. RFC4229 */ 716/* Permanent. RFC 8607, Section 5.1: Calendaring Extensions to WebDAV (CalDAV): Managed Attachments */
721#define MHD_HTTP_HEADER_C_MAN "C-Man"
722/* Permanent. RFC4229 */
723#define MHD_HTTP_HEADER_C_OPT "C-Opt"
724/* Permanent. RFC4229 */
725#define MHD_HTTP_HEADER_C_PEP "C-PEP"
726/* Permanent. RFC8607, Section 5.1 */
727#define MHD_HTTP_HEADER_CAL_MANAGED_ID "Cal-Managed-ID" 717#define MHD_HTTP_HEADER_CAL_MANAGED_ID "Cal-Managed-ID"
728/* Permanent. RFC7809, Section 7.1 */ 718/* Permanent. RFC 7809, Section 7.1: Calendaring Extensions to WebDAV (CalDAV): Time Zones by Reference */
729#define MHD_HTTP_HEADER_CALDAV_TIMEZONES "CalDAV-Timezones" 719#define MHD_HTTP_HEADER_CALDAV_TIMEZONES "CalDAV-Timezones"
730/* Permanent. RFC8586 */ 720/* Permanent. RFC9297 */
721#define MHD_HTTP_HEADER_CAPSULE_PROTOCOL "Capsule-Protocol"
722/* Permanent. RFC9213: Targeted HTTP Cache Control */
723#define MHD_HTTP_HEADER_CDN_CACHE_CONTROL "CDN-Cache-Control"
724/* Permanent. RFC 8586: Loop Detection in Content Delivery Networks (CDNs) */
731#define MHD_HTTP_HEADER_CDN_LOOP "CDN-Loop" 725#define MHD_HTTP_HEADER_CDN_LOOP "CDN-Loop"
732/* Permanent. RFC8739, Section 3.3 */ 726/* Permanent. RFC 8739, Section 3.3: Support for Short-Term, Automatically Renewed (STAR) Certificates in the Automated Certificate Management Environment (ACME) */
733#define MHD_HTTP_HEADER_CERT_NOT_AFTER "Cert-Not-After" 727#define MHD_HTTP_HEADER_CERT_NOT_AFTER "Cert-Not-After"
734/* Permanent. RFC8739, Section 3.3 */ 728/* Permanent. RFC 8739, Section 3.3: Support for Short-Term, Automatically Renewed (STAR) Certificates in the Automated Certificate Management Environment (ACME) */
735#define MHD_HTTP_HEADER_CERT_NOT_BEFORE "Cert-Not-Before" 729#define MHD_HTTP_HEADER_CERT_NOT_BEFORE "Cert-Not-Before"
736/* Permanent. RFC6266 */ 730/* Permanent. Clear Site Data */
731#define MHD_HTTP_HEADER_CLEAR_SITE_DATA "Clear-Site-Data"
732/* Permanent. RFC9440, Section 2: Client-Cert HTTP Header Field */
733#define MHD_HTTP_HEADER_CLIENT_CERT "Client-Cert"
734/* Permanent. RFC9440, Section 2: Client-Cert HTTP Header Field */
735#define MHD_HTTP_HEADER_CLIENT_CERT_CHAIN "Client-Cert-Chain"
736/* Permanent. RFC-ietf-httpbis-digest-headers-13, Section 2: Digest Fields */
737#define MHD_HTTP_HEADER_CONTENT_DIGEST "Content-Digest"
738/* Permanent. RFC 6266: Use of the Content-Disposition Header Field in the Hypertext Transfer Protocol (HTTP) */
737#define MHD_HTTP_HEADER_CONTENT_DISPOSITION "Content-Disposition" 739#define MHD_HTTP_HEADER_CONTENT_DISPOSITION "Content-Disposition"
738/* Permanent. RFC4229 */ 740/* Permanent. The HTTP Distribution and Replication Protocol */
739#define MHD_HTTP_HEADER_CONTENT_ID "Content-ID" 741#define MHD_HTTP_HEADER_CONTENT_ID "Content-ID"
740/* Permanent. RFC4229 */ 742/* Permanent. Content Security Policy Level 3 */
741#define MHD_HTTP_HEADER_CONTENT_SCRIPT_TYPE "Content-Script-Type"
742/* Permanent. https://www.w3.org/TR/CSP/#csp-header */
743#define MHD_HTTP_HEADER_CONTENT_SECURITY_POLICY "Content-Security-Policy" 743#define MHD_HTTP_HEADER_CONTENT_SECURITY_POLICY "Content-Security-Policy"
744/* Permanent. https://www.w3.org/TR/CSP/#cspro-header */ 744/* Permanent. Content Security Policy Level 3 */
745#define MHD_HTTP_HEADER_CONTENT_SECURITY_POLICY_REPORT_ONLY \ 745#define MHD_HTTP_HEADER_CONTENT_SECURITY_POLICY_REPORT_ONLY \
746 "Content-Security-Policy-Report-Only" 746 "Content-Security-Policy-Report-Only"
747/* Permanent. RFC4229 */ 747/* Permanent. RFC 6265: HTTP State Management Mechanism */
748#define MHD_HTTP_HEADER_CONTENT_STYLE_TYPE "Content-Style-Type"
749/* Permanent. RFC4229 */
750#define MHD_HTTP_HEADER_CONTENT_VERSION "Content-Version"
751/* Permanent. RFC6265 */
752#define MHD_HTTP_HEADER_COOKIE "Cookie" 748#define MHD_HTTP_HEADER_COOKIE "Cookie"
753/* Permanent. https://html.spec.whatwg.org/multipage/origin.html#cross-origin-embedder-policy */ 749/* Permanent. HTML */
754#define MHD_HTTP_HEADER_CROSS_ORIGIN_EMBEDDER_POLICY \ 750#define MHD_HTTP_HEADER_CROSS_ORIGIN_EMBEDDER_POLICY \
755 "Cross-Origin-Embedder-Policy" 751 "Cross-Origin-Embedder-Policy"
756/* Permanent. https://html.spec.whatwg.org/multipage/origin.html#cross-origin-embedder-policy-report-only */ 752/* Permanent. HTML */
757#define MHD_HTTP_HEADER_CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY \ 753#define MHD_HTTP_HEADER_CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY \
758 "Cross-Origin-Embedder-Policy-Report-Only" 754 "Cross-Origin-Embedder-Policy-Report-Only"
759/* Permanent. https://html.spec.whatwg.org/multipage/origin.html#cross-origin-opener-policy-2 */ 755/* Permanent. HTML */
760#define MHD_HTTP_HEADER_CROSS_ORIGIN_OPENER_POLICY "Cross-Origin-Opener-Policy" 756#define MHD_HTTP_HEADER_CROSS_ORIGIN_OPENER_POLICY "Cross-Origin-Opener-Policy"
761/* Permanent. https://html.spec.whatwg.org/multipage/origin.html#cross-origin-opener-policy-report-only */ 757/* Permanent. HTML */
762#define MHD_HTTP_HEADER_CROSS_ORIGIN_OPENER_POLICY_REPORT_ONLY \ 758#define MHD_HTTP_HEADER_CROSS_ORIGIN_OPENER_POLICY_REPORT_ONLY \
763 "Cross-Origin-Opener-Policy-Report-Only" 759 "Cross-Origin-Opener-Policy-Report-Only"
764/* Permanent. https://fetch.spec.whatwg.org/#cross-origin-resource-policy-header */ 760/* Permanent. Fetch */
765#define MHD_HTTP_HEADER_CROSS_ORIGIN_RESOURCE_POLICY \ 761#define MHD_HTTP_HEADER_CROSS_ORIGIN_RESOURCE_POLICY \
766 "Cross-Origin-Resource-Policy" 762 "Cross-Origin-Resource-Policy"
767/* Permanent. RFC5323 */ 763/* Permanent. RFC 5323: Web Distributed Authoring and Versioning (WebDAV) SEARCH */
768#define MHD_HTTP_HEADER_DASL "DASL" 764#define MHD_HTTP_HEADER_DASL "DASL"
769/* Permanent. RFC4918 */ 765/* Permanent. RFC 4918: HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV) */
770#define MHD_HTTP_HEADER_DAV "DAV" 766#define MHD_HTTP_HEADER_DAV "DAV"
771/* Permanent. RFC4229 */ 767/* Permanent. RFC 3229: Delta encoding in HTTP */
772#define MHD_HTTP_HEADER_DEFAULT_STYLE "Default-Style"
773/* Permanent. RFC4229 */
774#define MHD_HTTP_HEADER_DELTA_BASE "Delta-Base" 768#define MHD_HTTP_HEADER_DELTA_BASE "Delta-Base"
775/* Permanent. RFC4918 */ 769/* Permanent. RFC 4918: HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV) */
776#define MHD_HTTP_HEADER_DEPTH "Depth" 770#define MHD_HTTP_HEADER_DEPTH "Depth"
777/* Permanent. RFC4229 */ 771/* Permanent. RFC 4918: HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV) */
778#define MHD_HTTP_HEADER_DERIVED_FROM "Derived-From"
779/* Permanent. RFC4918 */
780#define MHD_HTTP_HEADER_DESTINATION "Destination" 772#define MHD_HTTP_HEADER_DESTINATION "Destination"
781/* Permanent. RFC4229 */ 773/* Permanent. The HTTP Distribution and Replication Protocol */
782#define MHD_HTTP_HEADER_DIFFERENTIAL_ID "Differential-ID" 774#define MHD_HTTP_HEADER_DIFFERENTIAL_ID "Differential-ID"
783/* Permanent. RFC4229 */ 775/* Permanent. RFC9449: OAuth 2.0 Demonstrating Proof of Possession (DPoP) */
784#define MHD_HTTP_HEADER_DIGEST "Digest" 776#define MHD_HTTP_HEADER_DPOP "DPoP"
785/* Permanent. RFC8470 */ 777/* Permanent. RFC9449: OAuth 2.0 Demonstrating Proof of Possession (DPoP) */
778#define MHD_HTTP_HEADER_DPOP_NONCE "DPoP-Nonce"
779/* Permanent. RFC 8470: Using Early Data in HTTP */
786#define MHD_HTTP_HEADER_EARLY_DATA "Early-Data" 780#define MHD_HTTP_HEADER_EARLY_DATA "Early-Data"
787/* Permanent. RFC4229 */ 781/* Permanent. RFC9163: Expect-CT Extension for HTTP */
788#define MHD_HTTP_HEADER_EXT "Ext" 782#define MHD_HTTP_HEADER_EXPECT_CT "Expect-CT"
789/* Permanent. RFC7239 */ 783/* Permanent. RFC 7239: Forwarded HTTP Extension */
790#define MHD_HTTP_HEADER_FORWARDED "Forwarded" 784#define MHD_HTTP_HEADER_FORWARDED "Forwarded"
791/* Permanent. RFC4229 */ 785/* Permanent. RFC 7486, Section 6.1.1: HTTP Origin-Bound Authentication (HOBA) */
792#define MHD_HTTP_HEADER_GETPROFILE "GetProfile"
793/* Permanent. RFC7486, Section 6.1.1 */
794#define MHD_HTTP_HEADER_HOBAREG "Hobareg" 786#define MHD_HTTP_HEADER_HOBAREG "Hobareg"
795/* Permanent. RFC7540, Section 3.2.1 */ 787/* Permanent. RFC 4918: HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV) */
796#define MHD_HTTP_HEADER_HTTP2_SETTINGS "HTTP2-Settings"
797/* Permanent. RFC4918 */
798#define MHD_HTTP_HEADER_IF "If" 788#define MHD_HTTP_HEADER_IF "If"
799/* Permanent. RFC6638 */ 789/* Permanent. RFC 6338: Scheduling Extensions to CalDAV */
800#define MHD_HTTP_HEADER_IF_SCHEDULE_TAG_MATCH "If-Schedule-Tag-Match" 790#define MHD_HTTP_HEADER_IF_SCHEDULE_TAG_MATCH "If-Schedule-Tag-Match"
801/* Permanent. RFC4229 */ 791/* Permanent. RFC 3229: Delta encoding in HTTP */
802#define MHD_HTTP_HEADER_IM "IM" 792#define MHD_HTTP_HEADER_IM "IM"
803/* Permanent. RFC8473 */ 793/* Permanent. RFC 8473: Token Binding over HTTP */
804#define MHD_HTTP_HEADER_INCLUDE_REFERRED_TOKEN_BINDING_ID \ 794#define MHD_HTTP_HEADER_INCLUDE_REFERRED_TOKEN_BINDING_ID \
805 "Include-Referred-Token-Binding-ID" 795 "Include-Referred-Token-Binding-ID"
806/* Permanent. RFC4229 */ 796/* Permanent. RFC 2068: Hypertext Transfer Protocol -- HTTP/1.1 */
807#define MHD_HTTP_HEADER_KEEP_ALIVE "Keep-Alive" 797#define MHD_HTTP_HEADER_KEEP_ALIVE "Keep-Alive"
808/* Permanent. RFC4229 */ 798/* Permanent. RFC 3253: Versioning Extensions to WebDAV: (Web Distributed Authoring and Versioning) */
809#define MHD_HTTP_HEADER_LABEL "Label" 799#define MHD_HTTP_HEADER_LABEL "Label"
810/* Permanent. https://html.spec.whatwg.org/multipage/server-sent-events.html#last-event-id */ 800/* Permanent. HTML */
811#define MHD_HTTP_HEADER_LAST_EVENT_ID "Last-Event-ID" 801#define MHD_HTTP_HEADER_LAST_EVENT_ID "Last-Event-ID"
812/* Permanent. RFC8288 */ 802/* Permanent. RFC 8288: Web Linking */
813#define MHD_HTTP_HEADER_LINK "Link" 803#define MHD_HTTP_HEADER_LINK "Link"
814/* Permanent. RFC4918 */ 804/* Permanent. RFC 4918: HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV) */
815#define MHD_HTTP_HEADER_LOCK_TOKEN "Lock-Token" 805#define MHD_HTTP_HEADER_LOCK_TOKEN "Lock-Token"
816/* Permanent. RFC4229 */ 806/* Permanent. RFC 7089: HTTP Framework for Time-Based Access to Resource States -- Memento */
817#define MHD_HTTP_HEADER_MAN "Man"
818/* Permanent. RFC7089 */
819#define MHD_HTTP_HEADER_MEMENTO_DATETIME "Memento-Datetime" 807#define MHD_HTTP_HEADER_MEMENTO_DATETIME "Memento-Datetime"
820/* Permanent. RFC4229 */ 808/* Permanent. RFC 2227: Simple Hit-Metering and Usage-Limiting for HTTP */
821#define MHD_HTTP_HEADER_METER "Meter" 809#define MHD_HTTP_HEADER_METER "Meter"
822/* Permanent. RFC4229 */ 810/* Permanent. RFC 2295: Transparent Content Negotiation in HTTP */
823#define MHD_HTTP_HEADER_NEGOTIATE "Negotiate" 811#define MHD_HTTP_HEADER_NEGOTIATE "Negotiate"
812/* Permanent. Network Error Logging */
813#define MHD_HTTP_HEADER_NEL "NEL"
824/* Permanent. OData Version 4.01 Part 1: Protocol; OASIS; Chet_Ensign */ 814/* Permanent. OData Version 4.01 Part 1: Protocol; OASIS; Chet_Ensign */
825#define MHD_HTTP_HEADER_ODATA_ENTITYID "OData-EntityId" 815#define MHD_HTTP_HEADER_ODATA_ENTITYID "OData-EntityId"
826/* Permanent. OData Version 4.01 Part 1: Protocol; OASIS; Chet_Ensign */ 816/* Permanent. OData Version 4.01 Part 1: Protocol; OASIS; Chet_Ensign */
@@ -829,145 +819,121 @@ MHD_get_reason_phrase_len_for (unsigned int code);
829#define MHD_HTTP_HEADER_ODATA_MAXVERSION "OData-MaxVersion" 819#define MHD_HTTP_HEADER_ODATA_MAXVERSION "OData-MaxVersion"
830/* Permanent. OData Version 4.01 Part 1: Protocol; OASIS; Chet_Ensign */ 820/* Permanent. OData Version 4.01 Part 1: Protocol; OASIS; Chet_Ensign */
831#define MHD_HTTP_HEADER_ODATA_VERSION "OData-Version" 821#define MHD_HTTP_HEADER_ODATA_VERSION "OData-Version"
832/* Permanent. RFC4229 */ 822/* Permanent. RFC 8053, Section 3: HTTP Authentication Extensions for Interactive Clients */
833#define MHD_HTTP_HEADER_OPT "Opt"
834/* Permanent. RFC8053, Section 3 */
835#define MHD_HTTP_HEADER_OPTIONAL_WWW_AUTHENTICATE "Optional-WWW-Authenticate" 823#define MHD_HTTP_HEADER_OPTIONAL_WWW_AUTHENTICATE "Optional-WWW-Authenticate"
836/* Permanent. RFC4229 */ 824/* Permanent. RFC 3648: Web Distributed Authoring and Versioning (WebDAV) Ordered Collections Protocol */
837#define MHD_HTTP_HEADER_ORDERING_TYPE "Ordering-Type" 825#define MHD_HTTP_HEADER_ORDERING_TYPE "Ordering-Type"
838/* Permanent. RFC6454 */ 826/* Permanent. RFC 6454: The Web Origin Concept */
839#define MHD_HTTP_HEADER_ORIGIN "Origin" 827#define MHD_HTTP_HEADER_ORIGIN "Origin"
840/* Permanent. https://html.spec.whatwg.org/multipage/origin.html#origin-agent-cluster */ 828/* Permanent. HTML */
841#define MHD_HTTP_HEADER_ORIGIN_AGENT_CLUSTER "Origin-Agent-Cluster" 829#define MHD_HTTP_HEADER_ORIGIN_AGENT_CLUSTER "Origin-Agent-Cluster"
842/* Permanent. RFC8613, Section 11.1 */ 830/* Permanent. RFC 8613, Section 11.1: Object Security for Constrained RESTful Environments (OSCORE) */
843#define MHD_HTTP_HEADER_OSCORE "OSCORE" 831#define MHD_HTTP_HEADER_OSCORE "OSCORE"
844/* Permanent. OASIS Project Specification 01; OASIS; Chet_Ensign */ 832/* Permanent. OASIS Project Specification 01; OASIS; Chet_Ensign */
845#define MHD_HTTP_HEADER_OSLC_CORE_VERSION "OSLC-Core-Version" 833#define MHD_HTTP_HEADER_OSLC_CORE_VERSION "OSLC-Core-Version"
846/* Permanent. RFC4918 */ 834/* Permanent. RFC 4918: HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV) */
847#define MHD_HTTP_HEADER_OVERWRITE "Overwrite" 835#define MHD_HTTP_HEADER_OVERWRITE "Overwrite"
848/* Permanent. RFC4229 */ 836/* Permanent. HTML */
849#define MHD_HTTP_HEADER_P3P "P3P"
850/* Permanent. RFC4229 */
851#define MHD_HTTP_HEADER_PEP "PEP"
852/* Permanent. RFC4229 */
853#define MHD_HTTP_HEADER_PEP_INFO "Pep-Info"
854/* Permanent. RFC4229 */
855#define MHD_HTTP_HEADER_PICS_LABEL "PICS-Label"
856/* Permanent. https://html.spec.whatwg.org/multipage/links.html#ping-from */
857#define MHD_HTTP_HEADER_PING_FROM "Ping-From" 837#define MHD_HTTP_HEADER_PING_FROM "Ping-From"
858/* Permanent. https://html.spec.whatwg.org/multipage/links.html#ping-to */ 838/* Permanent. HTML */
859#define MHD_HTTP_HEADER_PING_TO "Ping-To" 839#define MHD_HTTP_HEADER_PING_TO "Ping-To"
860/* Permanent. RFC4229 */ 840/* Permanent. RFC 3648: Web Distributed Authoring and Versioning (WebDAV) Ordered Collections Protocol */
861#define MHD_HTTP_HEADER_POSITION "Position" 841#define MHD_HTTP_HEADER_POSITION "Position"
862/* Permanent. RFC7240 */ 842/* Permanent. RFC 7240: Prefer Header for HTTP */
863#define MHD_HTTP_HEADER_PREFER "Prefer" 843#define MHD_HTTP_HEADER_PREFER "Prefer"
864/* Permanent. RFC7240 */ 844/* Permanent. RFC 7240: Prefer Header for HTTP */
865#define MHD_HTTP_HEADER_PREFERENCE_APPLIED "Preference-Applied" 845#define MHD_HTTP_HEADER_PREFERENCE_APPLIED "Preference-Applied"
866/* Permanent. RFC4229 */ 846/* Permanent. RFC9218: Extensible Prioritization Scheme for HTTP */
867#define MHD_HTTP_HEADER_PROFILEOBJECT "ProfileObject" 847#define MHD_HTTP_HEADER_PRIORITY "Priority"
868/* Permanent. RFC4229 */ 848/* Permanent. RFC9209: The Proxy-Status HTTP Response Header Field */
869#define MHD_HTTP_HEADER_PROTOCOL "Protocol" 849#define MHD_HTTP_HEADER_PROXY_STATUS "Proxy-Status"
870/* Permanent. RFC4229 */ 850/* Permanent. RFC 7469: Public Key Pinning Extension for HTTP */
871#define MHD_HTTP_HEADER_PROTOCOL_REQUEST "Protocol-Request"
872/* Permanent. RFC4229 */
873#define MHD_HTTP_HEADER_PROXY_FEATURES "Proxy-Features"
874/* Permanent. RFC4229 */
875#define MHD_HTTP_HEADER_PROXY_INSTRUCTION "Proxy-Instruction"
876/* Permanent. RFC4229 */
877#define MHD_HTTP_HEADER_PUBLIC "Public"
878/* Permanent. RFC7469 */
879#define MHD_HTTP_HEADER_PUBLIC_KEY_PINS "Public-Key-Pins" 851#define MHD_HTTP_HEADER_PUBLIC_KEY_PINS "Public-Key-Pins"
880/* Permanent. RFC7469 */ 852/* Permanent. RFC 7469: Public Key Pinning Extension for HTTP */
881#define MHD_HTTP_HEADER_PUBLIC_KEY_PINS_REPORT_ONLY \ 853#define MHD_HTTP_HEADER_PUBLIC_KEY_PINS_REPORT_ONLY \
882 "Public-Key-Pins-Report-Only" 854 "Public-Key-Pins-Report-Only"
883/* Permanent. RFC4437 */ 855/* Permanent. RFC 4437: Web Distributed Authoring and Versioning (WebDAV) Redirect Reference Resources */
884#define MHD_HTTP_HEADER_REDIRECT_REF "Redirect-Ref" 856#define MHD_HTTP_HEADER_REDIRECT_REF "Redirect-Ref"
885/* Permanent. https://html.spec.whatwg.org/multipage/browsing-the-web.html#refresh */ 857/* Permanent. HTML */
886#define MHD_HTTP_HEADER_REFRESH "Refresh" 858#define MHD_HTTP_HEADER_REFRESH "Refresh"
887/* Permanent. RFC8555, Section 6.5.1 */ 859/* Permanent. RFC 8555, Section 6.5.1: Automatic Certificate Management Environment (ACME) */
888#define MHD_HTTP_HEADER_REPLAY_NONCE "Replay-Nonce" 860#define MHD_HTTP_HEADER_REPLAY_NONCE "Replay-Nonce"
889/* Permanent. RFC4229 */ 861/* Permanent. RFC-ietf-httpbis-digest-headers-13, Section 3: Digest Fields */
890#define MHD_HTTP_HEADER_SAFE "Safe" 862#define MHD_HTTP_HEADER_REPR_DIGEST "Repr-Digest"
891/* Permanent. RFC6638 */ 863/* Permanent. RFC 6638: Scheduling Extensions to CalDAV */
892#define MHD_HTTP_HEADER_SCHEDULE_REPLY "Schedule-Reply" 864#define MHD_HTTP_HEADER_SCHEDULE_REPLY "Schedule-Reply"
893/* Permanent. RFC6638 */ 865/* Permanent. RFC 6338: Scheduling Extensions to CalDAV */
894#define MHD_HTTP_HEADER_SCHEDULE_TAG "Schedule-Tag" 866#define MHD_HTTP_HEADER_SCHEDULE_TAG "Schedule-Tag"
895/* Permanent. RFC8473 */ 867/* Permanent. Fetch */
868#define MHD_HTTP_HEADER_SEC_PURPOSE "Sec-Purpose"
869/* Permanent. RFC 8473: Token Binding over HTTP */
896#define MHD_HTTP_HEADER_SEC_TOKEN_BINDING "Sec-Token-Binding" 870#define MHD_HTTP_HEADER_SEC_TOKEN_BINDING "Sec-Token-Binding"
897/* Permanent. RFC6455 */ 871/* Permanent. RFC 6455: The WebSocket Protocol */
898#define MHD_HTTP_HEADER_SEC_WEBSOCKET_ACCEPT "Sec-WebSocket-Accept" 872#define MHD_HTTP_HEADER_SEC_WEBSOCKET_ACCEPT "Sec-WebSocket-Accept"
899/* Permanent. RFC6455 */ 873/* Permanent. RFC 6455: The WebSocket Protocol */
900#define MHD_HTTP_HEADER_SEC_WEBSOCKET_EXTENSIONS "Sec-WebSocket-Extensions" 874#define MHD_HTTP_HEADER_SEC_WEBSOCKET_EXTENSIONS "Sec-WebSocket-Extensions"
901/* Permanent. RFC6455 */ 875/* Permanent. RFC 6455: The WebSocket Protocol */
902#define MHD_HTTP_HEADER_SEC_WEBSOCKET_KEY "Sec-WebSocket-Key" 876#define MHD_HTTP_HEADER_SEC_WEBSOCKET_KEY "Sec-WebSocket-Key"
903/* Permanent. RFC6455 */ 877/* Permanent. RFC 6455: The WebSocket Protocol */
904#define MHD_HTTP_HEADER_SEC_WEBSOCKET_PROTOCOL "Sec-WebSocket-Protocol" 878#define MHD_HTTP_HEADER_SEC_WEBSOCKET_PROTOCOL "Sec-WebSocket-Protocol"
905/* Permanent. RFC6455 */ 879/* Permanent. RFC 6455: The WebSocket Protocol */
906#define MHD_HTTP_HEADER_SEC_WEBSOCKET_VERSION "Sec-WebSocket-Version" 880#define MHD_HTTP_HEADER_SEC_WEBSOCKET_VERSION "Sec-WebSocket-Version"
907/* Permanent. RFC4229 */ 881/* Permanent. Server Timing */
908#define MHD_HTTP_HEADER_SECURITY_SCHEME "Security-Scheme"
909/* Permanent. https://www.w3.org/TR/server-timing/ */
910#define MHD_HTTP_HEADER_SERVER_TIMING "Server-Timing" 882#define MHD_HTTP_HEADER_SERVER_TIMING "Server-Timing"
911/* Permanent. RFC6265 */ 883/* Permanent. RFC 6265: HTTP State Management Mechanism */
912#define MHD_HTTP_HEADER_SET_COOKIE "Set-Cookie" 884#define MHD_HTTP_HEADER_SET_COOKIE "Set-Cookie"
913/* Permanent. RFC4229 */ 885/* Permanent. RFC-ietf-httpbis-message-signatures-19, Section 4.2: HTTP Message Signatures */
914#define MHD_HTTP_HEADER_SETPROFILE "SetProfile" 886#define MHD_HTTP_HEADER_SIGNATURE "Signature"
915/* Permanent. RFC5023 */ 887/* Permanent. RFC-ietf-httpbis-message-signatures-19, Section 4.1: HTTP Message Signatures */
888#define MHD_HTTP_HEADER_SIGNATURE_INPUT "Signature-Input"
889/* Permanent. RFC 5023: The Atom Publishing Protocol */
916#define MHD_HTTP_HEADER_SLUG "SLUG" 890#define MHD_HTTP_HEADER_SLUG "SLUG"
917/* Permanent. RFC4229 */ 891/* Permanent. Simple Object Access Protocol (SOAP) 1.1 */
918#define MHD_HTTP_HEADER_SOAPACTION "SoapAction" 892#define MHD_HTTP_HEADER_SOAPACTION "SoapAction"
919/* Permanent. RFC4229 */ 893/* Permanent. RFC 2518: HTTP Extensions for Distributed Authoring -- WEBDAV */
920#define MHD_HTTP_HEADER_STATUS_URI "Status-URI" 894#define MHD_HTTP_HEADER_STATUS_URI "Status-URI"
921/* Permanent. RFC6797 */ 895/* Permanent. RFC 6797: HTTP Strict Transport Security (HSTS) */
922#define MHD_HTTP_HEADER_STRICT_TRANSPORT_SECURITY "Strict-Transport-Security" 896#define MHD_HTTP_HEADER_STRICT_TRANSPORT_SECURITY "Strict-Transport-Security"
923/* Permanent. RFC8594 */ 897/* Permanent. RFC 8594: The Sunset HTTP Header Field */
924#define MHD_HTTP_HEADER_SUNSET "Sunset" 898#define MHD_HTTP_HEADER_SUNSET "Sunset"
925/* Permanent. RFC4229 */ 899/* Permanent. Edge Architecture Specification */
926#define MHD_HTTP_HEADER_SURROGATE_CAPABILITY "Surrogate-Capability" 900#define MHD_HTTP_HEADER_SURROGATE_CAPABILITY "Surrogate-Capability"
927/* Permanent. RFC4229 */ 901/* Permanent. Edge Architecture Specification */
928#define MHD_HTTP_HEADER_SURROGATE_CONTROL "Surrogate-Control" 902#define MHD_HTTP_HEADER_SURROGATE_CONTROL "Surrogate-Control"
929/* Permanent. RFC4229 */ 903/* Permanent. RFC 2295: Transparent Content Negotiation in HTTP */
930#define MHD_HTTP_HEADER_TCN "TCN" 904#define MHD_HTTP_HEADER_TCN "TCN"
931/* Permanent. RFC4918 */ 905/* Permanent. RFC 4918: HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV) */
932#define MHD_HTTP_HEADER_TIMEOUT "Timeout" 906#define MHD_HTTP_HEADER_TIMEOUT "Timeout"
933/* Permanent. RFC8030, Section 5.4 */ 907/* Permanent. RFC 8030, Section 5.4: Generic Event Delivery Using HTTP Push */
934#define MHD_HTTP_HEADER_TOPIC "Topic" 908#define MHD_HTTP_HEADER_TOPIC "Topic"
935/* Permanent. RFC8030, Section 5.2 */ 909/* Permanent. Trace Context */
910#define MHD_HTTP_HEADER_TRACEPARENT "Traceparent"
911/* Permanent. Trace Context */
912#define MHD_HTTP_HEADER_TRACESTATE "Tracestate"
913/* Permanent. RFC 8030, Section 5.2: Generic Event Delivery Using HTTP Push */
936#define MHD_HTTP_HEADER_TTL "TTL" 914#define MHD_HTTP_HEADER_TTL "TTL"
937/* Permanent. RFC8030, Section 5.3 */ 915/* Permanent. RFC 8030, Section 5.3: Generic Event Delivery Using HTTP Push */
938#define MHD_HTTP_HEADER_URGENCY "Urgency" 916#define MHD_HTTP_HEADER_URGENCY "Urgency"
939/* Permanent. RFC4229 */ 917/* Permanent. RFC 2295: Transparent Content Negotiation in HTTP */
940#define MHD_HTTP_HEADER_URI "URI"
941/* Permanent. RFC4229 */
942#define MHD_HTTP_HEADER_VARIANT_VARY "Variant-Vary" 918#define MHD_HTTP_HEADER_VARIANT_VARY "Variant-Vary"
943/* Permanent. RFC4229 */ 919/* Permanent. RFC-ietf-httpbis-digest-headers-13, Section 4: Digest Fields */
944#define MHD_HTTP_HEADER_WANT_DIGEST "Want-Digest" 920#define MHD_HTTP_HEADER_WANT_CONTENT_DIGEST "Want-Content-Digest"
945/* Permanent. https://fetch.spec.whatwg.org/#x-content-type-options-header */ 921/* Permanent. RFC-ietf-httpbis-digest-headers-13, Section 4: Digest Fields */
922#define MHD_HTTP_HEADER_WANT_REPR_DIGEST "Want-Repr-Digest"
923/* Permanent. Fetch */
946#define MHD_HTTP_HEADER_X_CONTENT_TYPE_OPTIONS "X-Content-Type-Options" 924#define MHD_HTTP_HEADER_X_CONTENT_TYPE_OPTIONS "X-Content-Type-Options"
947/* Permanent. https://html.spec.whatwg.org/multipage/browsing-the-web.html#x-frame-options */ 925/* Permanent. HTML */
948#define MHD_HTTP_HEADER_X_FRAME_OPTIONS "X-Frame-Options" 926#define MHD_HTTP_HEADER_X_FRAME_OPTIONS "X-Frame-Options"
949/* Provisional. RFC5789 */ 927/* Provisional. AMP-Cache-Transform HTTP request header */
950#define MHD_HTTP_HEADER_ACCEPT_PATCH "Accept-Patch"
951/* Provisional. https://github.com/ampproject/amphtml/blob/master/spec/amp-cache-transform.md */
952#define MHD_HTTP_HEADER_AMP_CACHE_TRANSFORM "AMP-Cache-Transform" 928#define MHD_HTTP_HEADER_AMP_CACHE_TRANSFORM "AMP-Cache-Transform"
953/* Provisional. RFC4229 */ 929/* Provisional. OSLC Configuration Management Version 1.0. Part 3: Configuration Specification */
954#define MHD_HTTP_HEADER_COMPLIANCE "Compliance"
955/* Provisional. https://docs.oasis-open-projects.org/oslc-op/config/v1.0/psd01/config-resources.html#configcontext */
956#define MHD_HTTP_HEADER_CONFIGURATION_CONTEXT "Configuration-Context" 930#define MHD_HTTP_HEADER_CONFIGURATION_CONTEXT "Configuration-Context"
957/* Provisional. RFC4229 */ 931/* Provisional. RFC 6017: Electronic Data Interchange - Internet Integration (EDIINT) Features Header Field */
958#define MHD_HTTP_HEADER_CONTENT_TRANSFER_ENCODING "Content-Transfer-Encoding"
959/* Provisional. RFC4229 */
960#define MHD_HTTP_HEADER_COST "Cost"
961/* Provisional. RFC6017 */
962#define MHD_HTTP_HEADER_EDIINT_FEATURES "EDIINT-Features" 932#define MHD_HTTP_HEADER_EDIINT_FEATURES "EDIINT-Features"
963/* Provisional. OData Version 4.01 Part 1: Protocol; OASIS; Chet_Ensign */ 933/* Provisional. OData Version 4.01 Part 1: Protocol; OASIS; Chet_Ensign */
964#define MHD_HTTP_HEADER_ISOLATION "Isolation" 934#define MHD_HTTP_HEADER_ISOLATION "Isolation"
965/* Provisional. RFC4229 */ 935/* Provisional. Permissions Policy */
966#define MHD_HTTP_HEADER_MESSAGE_ID "Message-ID" 936#define MHD_HTTP_HEADER_PERMISSIONS_POLICY "Permissions-Policy"
967/* Provisional. RFC4229 */
968#define MHD_HTTP_HEADER_NON_COMPLIANCE "Non-Compliance"
969/* Provisional. RFC4229 */
970#define MHD_HTTP_HEADER_OPTIONAL "Optional"
971/* Provisional. Repeatable Requests Version 1.0; OASIS; Chet_Ensign */ 937/* Provisional. Repeatable Requests Version 1.0; OASIS; Chet_Ensign */
972#define MHD_HTTP_HEADER_REPEATABILITY_CLIENT_ID "Repeatability-Client-ID" 938#define MHD_HTTP_HEADER_REPEATABILITY_CLIENT_ID "Repeatability-Client-ID"
973/* Provisional. Repeatable Requests Version 1.0; OASIS; Chet_Ensign */ 939/* Provisional. Repeatable Requests Version 1.0; OASIS; Chet_Ensign */
@@ -976,70 +942,143 @@ MHD_get_reason_phrase_len_for (unsigned int code);
976#define MHD_HTTP_HEADER_REPEATABILITY_REQUEST_ID "Repeatability-Request-ID" 942#define MHD_HTTP_HEADER_REPEATABILITY_REQUEST_ID "Repeatability-Request-ID"
977/* Provisional. Repeatable Requests Version 1.0; OASIS; Chet_Ensign */ 943/* Provisional. Repeatable Requests Version 1.0; OASIS; Chet_Ensign */
978#define MHD_HTTP_HEADER_REPEATABILITY_RESULT "Repeatability-Result" 944#define MHD_HTTP_HEADER_REPEATABILITY_RESULT "Repeatability-Result"
979/* Provisional. RFC4229 */ 945/* Provisional. Reporting API */
946#define MHD_HTTP_HEADER_REPORTING_ENDPOINTS "Reporting-Endpoints"
947/* Provisional. Global Privacy Control (GPC) */
948#define MHD_HTTP_HEADER_SEC_GPC "Sec-GPC"
949/* Provisional. Resource Timing Level 1 */
950#define MHD_HTTP_HEADER_TIMING_ALLOW_ORIGIN "Timing-Allow-Origin"
951/* Deprecated. PEP - an Extension Mechanism for HTTP; status-change-http-experiments-to-historic */
952#define MHD_HTTP_HEADER_C_PEP_INFO "C-PEP-Info"
953/* Deprecated. White Paper: Joint Electronic Payment Initiative */
954#define MHD_HTTP_HEADER_PROTOCOL_INFO "Protocol-Info"
955/* Deprecated. White Paper: Joint Electronic Payment Initiative */
956#define MHD_HTTP_HEADER_PROTOCOL_QUERY "Protocol-Query"
957/* Obsoleted. Access Control for Cross-site Requests */
958#define MHD_HTTP_HEADER_ACCESS_CONTROL "Access-Control"
959/* Obsoleted. RFC 2774: An HTTP Extension Framework; status-change-http-experiments-to-historic */
960#define MHD_HTTP_HEADER_C_EXT "C-Ext"
961/* Obsoleted. RFC 2774: An HTTP Extension Framework; status-change-http-experiments-to-historic */
962#define MHD_HTTP_HEADER_C_MAN "C-Man"
963/* Obsoleted. RFC 2774: An HTTP Extension Framework; status-change-http-experiments-to-historic */
964#define MHD_HTTP_HEADER_C_OPT "C-Opt"
965/* Obsoleted. PEP - an Extension Mechanism for HTTP; status-change-http-experiments-to-historic */
966#define MHD_HTTP_HEADER_C_PEP "C-PEP"
967/* Obsoleted. RFC 2068: Hypertext Transfer Protocol -- HTTP/1.1; RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1 */
968#define MHD_HTTP_HEADER_CONTENT_BASE "Content-Base"
969/* Obsoleted. RFC 2616, Section 14.15: Hypertext Transfer Protocol -- HTTP/1.1; RFC 7231, Appendix B: Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content */
970#define MHD_HTTP_HEADER_CONTENT_MD5 "Content-MD5"
971/* Obsoleted. HTML 4.01 Specification */
972#define MHD_HTTP_HEADER_CONTENT_SCRIPT_TYPE "Content-Script-Type"
973/* Obsoleted. HTML 4.01 Specification */
974#define MHD_HTTP_HEADER_CONTENT_STYLE_TYPE "Content-Style-Type"
975/* Obsoleted. RFC 2068: Hypertext Transfer Protocol -- HTTP/1.1 */
976#define MHD_HTTP_HEADER_CONTENT_VERSION "Content-Version"
977/* Obsoleted. RFC 2965: HTTP State Management Mechanism; RFC 6265: HTTP State Management Mechanism */
978#define MHD_HTTP_HEADER_COOKIE2 "Cookie2"
979/* Obsoleted. HTML 4.01 Specification */
980#define MHD_HTTP_HEADER_DEFAULT_STYLE "Default-Style"
981/* Obsoleted. RFC 2068: Hypertext Transfer Protocol -- HTTP/1.1 */
982#define MHD_HTTP_HEADER_DERIVED_FROM "Derived-From"
983/* Obsoleted. RFC 3230: Instance Digests in HTTP; RFC-ietf-httpbis-digest-headers-13, Section 1.3: Digest Fields */
984#define MHD_HTTP_HEADER_DIGEST "Digest"
985/* Obsoleted. RFC 2774: An HTTP Extension Framework; status-change-http-experiments-to-historic */
986#define MHD_HTTP_HEADER_EXT "Ext"
987/* Obsoleted. Implementation of OPS Over HTTP */
988#define MHD_HTTP_HEADER_GETPROFILE "GetProfile"
989/* Obsoleted. RFC 7540, Section 3.2.1: Hypertext Transfer Protocol Version 2 (HTTP/2) */
990#define MHD_HTTP_HEADER_HTTP2_SETTINGS "HTTP2-Settings"
991/* Obsoleted. RFC 2774: An HTTP Extension Framework; status-change-http-experiments-to-historic */
992#define MHD_HTTP_HEADER_MAN "Man"
993/* Obsoleted. Access Control for Cross-site Requests */
994#define MHD_HTTP_HEADER_METHOD_CHECK "Method-Check"
995/* Obsoleted. Access Control for Cross-site Requests */
996#define MHD_HTTP_HEADER_METHOD_CHECK_EXPIRES "Method-Check-Expires"
997/* Obsoleted. RFC 2774: An HTTP Extension Framework; status-change-http-experiments-to-historic */
998#define MHD_HTTP_HEADER_OPT "Opt"
999/* Obsoleted. The Platform for Privacy Preferences 1.0 (P3P1.0) Specification */
1000#define MHD_HTTP_HEADER_P3P "P3P"
1001/* Obsoleted. PEP - an Extension Mechanism for HTTP */
1002#define MHD_HTTP_HEADER_PEP "PEP"
1003/* Obsoleted. PEP - an Extension Mechanism for HTTP */
1004#define MHD_HTTP_HEADER_PEP_INFO "Pep-Info"
1005/* Obsoleted. PICS Label Distribution Label Syntax and Communication Protocols */
1006#define MHD_HTTP_HEADER_PICS_LABEL "PICS-Label"
1007/* Obsoleted. Implementation of OPS Over HTTP */
1008#define MHD_HTTP_HEADER_PROFILEOBJECT "ProfileObject"
1009/* Obsoleted. PICS Label Distribution Label Syntax and Communication Protocols */
1010#define MHD_HTTP_HEADER_PROTOCOL "Protocol"
1011/* Obsoleted. PICS Label Distribution Label Syntax and Communication Protocols */
1012#define MHD_HTTP_HEADER_PROTOCOL_REQUEST "Protocol-Request"
1013/* Obsoleted. Notification for Proxy Caches */
1014#define MHD_HTTP_HEADER_PROXY_FEATURES "Proxy-Features"
1015/* Obsoleted. Notification for Proxy Caches */
1016#define MHD_HTTP_HEADER_PROXY_INSTRUCTION "Proxy-Instruction"
1017/* Obsoleted. RFC 2068: Hypertext Transfer Protocol -- HTTP/1.1 */
1018#define MHD_HTTP_HEADER_PUBLIC "Public"
1019/* Obsoleted. Access Control for Cross-site Requests */
1020#define MHD_HTTP_HEADER_REFERER_ROOT "Referer-Root"
1021/* Obsoleted. RFC 2310: The Safe Response Header Field; status-change-http-experiments-to-historic */
1022#define MHD_HTTP_HEADER_SAFE "Safe"
1023/* Obsoleted. RFC 2660: The Secure HyperText Transfer Protocol; status-change-http-experiments-to-historic */
1024#define MHD_HTTP_HEADER_SECURITY_SCHEME "Security-Scheme"
1025/* Obsoleted. RFC 2965: HTTP State Management Mechanism; RFC 6265: HTTP State Management Mechanism */
1026#define MHD_HTTP_HEADER_SET_COOKIE2 "Set-Cookie2"
1027/* Obsoleted. Implementation of OPS Over HTTP */
1028#define MHD_HTTP_HEADER_SETPROFILE "SetProfile"
1029/* Obsoleted. RFC 2068: Hypertext Transfer Protocol -- HTTP/1.1 */
1030#define MHD_HTTP_HEADER_URI "URI"
1031/* Obsoleted. RFC 3230: Instance Digests in HTTP; RFC-ietf-httpbis-digest-headers-13, Section 1.3: Digest Fields */
1032#define MHD_HTTP_HEADER_WANT_DIGEST "Want-Digest"
1033/* Obsoleted. RFC9111, Section 5.5: HTTP Caching */
1034#define MHD_HTTP_HEADER_WARNING "Warning"
1035
1036/* Headers removed from the registry. Do not use! */
1037/* Obsoleted. RFC4229 */
1038#define MHD_HTTP_HEADER_COMPLIANCE "Compliance"
1039/* Obsoleted. RFC4229 */
1040#define MHD_HTTP_HEADER_CONTENT_TRANSFER_ENCODING "Content-Transfer-Encoding"
1041/* Obsoleted. RFC4229 */
1042#define MHD_HTTP_HEADER_COST "Cost"
1043/* Obsoleted. RFC4229 */
1044#define MHD_HTTP_HEADER_MESSAGE_ID "Message-ID"
1045/* Obsoleted. RFC4229 */
1046#define MHD_HTTP_HEADER_NON_COMPLIANCE "Non-Compliance"
1047/* Obsoleted. RFC4229 */
1048#define MHD_HTTP_HEADER_OPTIONAL "Optional"
1049/* Obsoleted. RFC4229 */
980#define MHD_HTTP_HEADER_RESOLUTION_HINT "Resolution-Hint" 1050#define MHD_HTTP_HEADER_RESOLUTION_HINT "Resolution-Hint"
981/* Provisional. RFC4229 */ 1051/* Obsoleted. RFC4229 */
982#define MHD_HTTP_HEADER_RESOLVER_LOCATION "Resolver-Location" 1052#define MHD_HTTP_HEADER_RESOLVER_LOCATION "Resolver-Location"
983/* Provisional. RFC4229 */ 1053/* Obsoleted. RFC4229 */
984#define MHD_HTTP_HEADER_SUBOK "SubOK" 1054#define MHD_HTTP_HEADER_SUBOK "SubOK"
985/* Provisional. RFC4229 */ 1055/* Obsoleted. RFC4229 */
986#define MHD_HTTP_HEADER_SUBST "Subst" 1056#define MHD_HTTP_HEADER_SUBST "Subst"
987/* Provisional. https://www.w3.org/TR/resource-timing-1/#timing-allow-origin */ 1057/* Obsoleted. RFC4229 */
988#define MHD_HTTP_HEADER_TIMING_ALLOW_ORIGIN "Timing-Allow-Origin"
989/* Provisional. RFC4229 */
990#define MHD_HTTP_HEADER_TITLE "Title" 1058#define MHD_HTTP_HEADER_TITLE "Title"
991/* Provisional. https://www.w3.org/TR/trace-context/#traceparent-field */ 1059/* Obsoleted. RFC4229 */
992#define MHD_HTTP_HEADER_TRACEPARENT "Traceparent"
993/* Provisional. https://www.w3.org/TR/trace-context/#tracestate-field */
994#define MHD_HTTP_HEADER_TRACESTATE "Tracestate"
995/* Provisional. RFC4229 */
996#define MHD_HTTP_HEADER_UA_COLOR "UA-Color" 1060#define MHD_HTTP_HEADER_UA_COLOR "UA-Color"
997/* Provisional. RFC4229 */ 1061/* Obsoleted. RFC4229 */
998#define MHD_HTTP_HEADER_UA_MEDIA "UA-Media" 1062#define MHD_HTTP_HEADER_UA_MEDIA "UA-Media"
999/* Provisional. RFC4229 */ 1063/* Obsoleted. RFC4229 */
1000#define MHD_HTTP_HEADER_UA_PIXELS "UA-Pixels" 1064#define MHD_HTTP_HEADER_UA_PIXELS "UA-Pixels"
1001/* Provisional. RFC4229 */ 1065/* Obsoleted. RFC4229 */
1002#define MHD_HTTP_HEADER_UA_RESOLUTION "UA-Resolution" 1066#define MHD_HTTP_HEADER_UA_RESOLUTION "UA-Resolution"
1003/* Provisional. RFC4229 */ 1067/* Obsoleted. RFC4229 */
1004#define MHD_HTTP_HEADER_UA_WINDOWPIXELS "UA-Windowpixels" 1068#define MHD_HTTP_HEADER_UA_WINDOWPIXELS "UA-Windowpixels"
1005/* Provisional. RFC4229 */ 1069/* Obsoleted. RFC4229 */
1006#define MHD_HTTP_HEADER_VERSION "Version" 1070#define MHD_HTTP_HEADER_VERSION "Version"
1007/* Provisional. W3C Mobile Web Best Practices Working Group */ 1071/* Obsoleted. W3C Mobile Web Best Practices Working Group */
1008#define MHD_HTTP_HEADER_X_DEVICE_ACCEPT "X-Device-Accept" 1072#define MHD_HTTP_HEADER_X_DEVICE_ACCEPT "X-Device-Accept"
1009/* Provisional. W3C Mobile Web Best Practices Working Group */ 1073/* Obsoleted. W3C Mobile Web Best Practices Working Group */
1010#define MHD_HTTP_HEADER_X_DEVICE_ACCEPT_CHARSET "X-Device-Accept-Charset" 1074#define MHD_HTTP_HEADER_X_DEVICE_ACCEPT_CHARSET "X-Device-Accept-Charset"
1011/* Provisional. W3C Mobile Web Best Practices Working Group */ 1075/* Obsoleted. W3C Mobile Web Best Practices Working Group */
1012#define MHD_HTTP_HEADER_X_DEVICE_ACCEPT_ENCODING "X-Device-Accept-Encoding" 1076#define MHD_HTTP_HEADER_X_DEVICE_ACCEPT_ENCODING "X-Device-Accept-Encoding"
1013/* Provisional. W3C Mobile Web Best Practices Working Group */ 1077/* Obsoleted. W3C Mobile Web Best Practices Working Group */
1014#define MHD_HTTP_HEADER_X_DEVICE_ACCEPT_LANGUAGE "X-Device-Accept-Language" 1078#define MHD_HTTP_HEADER_X_DEVICE_ACCEPT_LANGUAGE "X-Device-Accept-Language"
1015/* Provisional. W3C Mobile Web Best Practices Working Group */ 1079/* Obsoleted. W3C Mobile Web Best Practices Working Group */
1016#define MHD_HTTP_HEADER_X_DEVICE_USER_AGENT "X-Device-User-Agent" 1080#define MHD_HTTP_HEADER_X_DEVICE_USER_AGENT "X-Device-User-Agent"
1017/* Deprecated. RFC4229 */
1018#define MHD_HTTP_HEADER_C_PEP_INFO "C-PEP-Info"
1019/* Deprecated. RFC4229 */
1020#define MHD_HTTP_HEADER_PROTOCOL_INFO "Protocol-Info"
1021/* Deprecated. RFC4229 */
1022#define MHD_HTTP_HEADER_PROTOCOL_QUERY "Protocol-Query"
1023/* Obsoleted. https://www.w3.org/TR/2007/WD-access-control-20071126/#access-control0 */
1024#define MHD_HTTP_HEADER_ACCESS_CONTROL "Access-Control"
1025/* Obsoleted. RFC2068; RFC2616 */
1026#define MHD_HTTP_HEADER_CONTENT_BASE "Content-Base"
1027/* Obsoleted. RFC2616, Section 14.15; RFC7231, Appendix B */
1028#define MHD_HTTP_HEADER_CONTENT_MD5 "Content-MD5"
1029/* Obsoleted. RFC2965; RFC6265 */
1030#define MHD_HTTP_HEADER_COOKIE2 "Cookie2"
1031/* Obsoleted. https://www.w3.org/TR/2007/WD-access-control-20071126/#method-check */
1032#define MHD_HTTP_HEADER_METHOD_CHECK "Method-Check"
1033/* Obsoleted. https://www.w3.org/TR/2007/WD-access-control-20071126/#method-check-expires */
1034#define MHD_HTTP_HEADER_METHOD_CHECK_EXPIRES "Method-Check-Expires"
1035/* Obsoleted. https://www.w3.org/TR/2007/WD-access-control-20071126/#referer-root */
1036#define MHD_HTTP_HEADER_REFERER_ROOT "Referer-Root"
1037/* Obsoleted. RFC2965; RFC6265 */
1038#define MHD_HTTP_HEADER_SET_COOKIE2 "Set-Cookie2"
1039 1081
1040/* Some provisional headers. */
1041#define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN \
1042 "Access-Control-Allow-Origin"
1043/** @} */ /* end of group headers */ 1082/** @} */ /* end of group headers */
1044 1083
1045/** 1084/**
@@ -1056,30 +1095,28 @@ MHD_get_reason_phrase_len_for (unsigned int code);
1056/** 1095/**
1057 * @defgroup methods HTTP methods 1096 * @defgroup methods HTTP methods
1058 * HTTP methods (as strings). 1097 * HTTP methods (as strings).
1059 * See: http://www.iana.org/assignments/http-methods/http-methods.xml 1098 * See: https://www.iana.org/assignments/http-methods/http-methods.xml
1060 * Registry export date: 2021-12-19 1099 * Registry export date: 2023-10-02
1061 * @{ 1100 * @{
1062 */ 1101 */
1063 1102
1064/* Main HTTP methods. */ 1103/* Main HTTP methods. */
1065/* Not safe. Not idempotent. RFC-ietf-httpbis-semantics, Section 9.3.6. */ 1104/* Safe. Idempotent. RFC9110, Section 9.3.1. */
1066#define MHD_HTTP_METHOD_CONNECT "CONNECT"
1067/* Not safe. Idempotent. RFC-ietf-httpbis-semantics, Section 9.3.5. */
1068#define MHD_HTTP_METHOD_DELETE "DELETE"
1069/* Safe. Idempotent. RFC-ietf-httpbis-semantics, Section 9.3.1. */
1070#define MHD_HTTP_METHOD_GET "GET" 1105#define MHD_HTTP_METHOD_GET "GET"
1071/* Safe. Idempotent. RFC-ietf-httpbis-semantics, Section 9.3.2. */ 1106/* Safe. Idempotent. RFC9110, Section 9.3.2. */
1072#define MHD_HTTP_METHOD_HEAD "HEAD" 1107#define MHD_HTTP_METHOD_HEAD "HEAD"
1073/* Safe. Idempotent. RFC-ietf-httpbis-semantics, Section 9.3.7. */ 1108/* Not safe. Not idempotent. RFC9110, Section 9.3.3. */
1074#define MHD_HTTP_METHOD_OPTIONS "OPTIONS"
1075/* Not safe. Not idempotent. RFC-ietf-httpbis-semantics, Section 9.3.3. */
1076#define MHD_HTTP_METHOD_POST "POST" 1109#define MHD_HTTP_METHOD_POST "POST"
1077/* Not safe. Idempotent. RFC-ietf-httpbis-semantics, Section 9.3.4. */ 1110/* Not safe. Idempotent. RFC9110, Section 9.3.4. */
1078#define MHD_HTTP_METHOD_PUT "PUT" 1111#define MHD_HTTP_METHOD_PUT "PUT"
1079/* Safe. Idempotent. RFC-ietf-httpbis-semantics, Section 9.3.8. */ 1112/* Not safe. Idempotent. RFC9110, Section 9.3.5. */
1113#define MHD_HTTP_METHOD_DELETE "DELETE"
1114/* Not safe. Not idempotent. RFC9110, Section 9.3.6. */
1115#define MHD_HTTP_METHOD_CONNECT "CONNECT"
1116/* Safe. Idempotent. RFC9110, Section 9.3.7. */
1117#define MHD_HTTP_METHOD_OPTIONS "OPTIONS"
1118/* Safe. Idempotent. RFC9110, Section 9.3.8. */
1080#define MHD_HTTP_METHOD_TRACE "TRACE" 1119#define MHD_HTTP_METHOD_TRACE "TRACE"
1081/* Not safe. Not idempotent. RFC-ietf-httpbis-semantics, Section 18.2. */
1082#define MHD_HTTP_METHOD_ASTERISK "*"
1083 1120
1084/* Additional HTTP methods. */ 1121/* Additional HTTP methods. */
1085/* Not safe. Idempotent. RFC3744, Section 8.1. */ 1122/* Not safe. Idempotent. RFC3744, Section 8.1. */
@@ -1118,7 +1155,7 @@ MHD_get_reason_phrase_len_for (unsigned int code);
1118#define MHD_HTTP_METHOD_ORDERPATCH "ORDERPATCH" 1155#define MHD_HTTP_METHOD_ORDERPATCH "ORDERPATCH"
1119/* Not safe. Not idempotent. RFC5789, Section 2. */ 1156/* Not safe. Not idempotent. RFC5789, Section 2. */
1120#define MHD_HTTP_METHOD_PATCH "PATCH" 1157#define MHD_HTTP_METHOD_PATCH "PATCH"
1121/* Safe. Idempotent. RFC7540, Section 3.5. */ 1158/* Safe. Idempotent. RFC9113, Section 3.4. */
1122#define MHD_HTTP_METHOD_PRI "PRI" 1159#define MHD_HTTP_METHOD_PRI "PRI"
1123/* Safe. Idempotent. RFC4918, Section 9.1; RFC8144, Section 2.1. */ 1160/* Safe. Idempotent. RFC4918, Section 9.1; RFC8144, Section 2.1. */
1124#define MHD_HTTP_METHOD_PROPFIND "PROPFIND" 1161#define MHD_HTTP_METHOD_PROPFIND "PROPFIND"
@@ -1144,6 +1181,8 @@ MHD_get_reason_phrase_len_for (unsigned int code);
1144#define MHD_HTTP_METHOD_UPDATEREDIRECTREF "UPDATEREDIRECTREF" 1181#define MHD_HTTP_METHOD_UPDATEREDIRECTREF "UPDATEREDIRECTREF"
1145/* Not safe. Idempotent. RFC3253, Section 3.5. */ 1182/* Not safe. Idempotent. RFC3253, Section 3.5. */
1146#define MHD_HTTP_METHOD_VERSION_CONTROL "VERSION-CONTROL" 1183#define MHD_HTTP_METHOD_VERSION_CONTROL "VERSION-CONTROL"
1184/* Not safe. Not idempotent. RFC9110, Section 18.2. */
1185#define MHD_HTTP_METHOD_ASTERISK "*"
1147 1186
1148/** @} */ /* end of group methods */ 1187/** @} */ /* end of group methods */
1149 1188