diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-02-26 21:30:13 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-02-26 21:30:13 +0300 |
commit | d4eece331e21ef654df5260f6232d74d8c7ad78c (patch) | |
tree | bb78f17d805aee0edd6d04ee1dd24360f4801ce1 /src/include/microhttpd.h | |
parent | 3211f225fa437e1137ff132ae221565c469b4ae4 (diff) | |
download | libmicrohttpd-d4eece331e21ef654df5260f6232d74d8c7ad78c.tar.gz libmicrohttpd-d4eece331e21ef654df5260f6232d74d8c7ad78c.zip |
microhttpd.h: re-sorted HTTP headers for better readability
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 190 |
1 files changed, 97 insertions, 93 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 5fd4c68a..73d5da2f 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -410,34 +410,120 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
410 | /** | 410 | /** |
411 | * @defgroup headers HTTP headers | 411 | * @defgroup headers HTTP headers |
412 | * These are the standard headers found in HTTP requests and responses. | 412 | * These are the standard headers found in HTTP requests and responses. |
413 | * See: http://www.iana.org/assignments/message-headers/message-headers.xml | ||
414 | * Registry Version 2017-01-27 | ||
413 | * @{ | 415 | * @{ |
414 | */ | 416 | */ |
415 | /* See also: http://www.iana.org/assignments/message-headers/message-headers.xhtml */ | ||
416 | 417 | ||
417 | /* No category. RFC4229 */ | 418 | /* Main HTTP headers. */ |
418 | #define MHD_HTTP_HEADER_A_IM "A-IM" | ||
419 | /* Standard. RFC7231, Section 5.3.2 */ | 419 | /* Standard. RFC7231, Section 5.3.2 */ |
420 | #define MHD_HTTP_HEADER_ACCEPT "Accept" | 420 | #define MHD_HTTP_HEADER_ACCEPT "Accept" |
421 | /* No category. RFC4229 */ | ||
422 | #define MHD_HTTP_HEADER_ACCEPT_ADDITIONS "Accept-Additions" | ||
423 | /* Standard. RFC7231, Section 5.3.3 */ | 421 | /* Standard. RFC7231, Section 5.3.3 */ |
424 | #define MHD_HTTP_HEADER_ACCEPT_CHARSET "Accept-Charset" | 422 | #define MHD_HTTP_HEADER_ACCEPT_CHARSET "Accept-Charset" |
425 | /* Informational. RFC7089 */ | ||
426 | #define MHD_HTTP_HEADER_ACCEPT_DATETIME "Accept-Datetime" | ||
427 | /* Standard. RFC7231, Section 5.3.4; RFC7694, Section 3 */ | 423 | /* Standard. RFC7231, Section 5.3.4; RFC7694, Section 3 */ |
428 | #define MHD_HTTP_HEADER_ACCEPT_ENCODING "Accept-Encoding" | 424 | #define MHD_HTTP_HEADER_ACCEPT_ENCODING "Accept-Encoding" |
429 | /* No category. RFC4229 */ | ||
430 | #define MHD_HTTP_HEADER_ACCEPT_FEATURES "Accept-Features" | ||
431 | /* Standard. RFC7231, Section 5.3.5 */ | 425 | /* Standard. RFC7231, Section 5.3.5 */ |
432 | #define MHD_HTTP_HEADER_ACCEPT_LANGUAGE "Accept-Language" | 426 | #define MHD_HTTP_HEADER_ACCEPT_LANGUAGE "Accept-Language" |
433 | /* No category. RFC5789 */ | ||
434 | #define MHD_HTTP_HEADER_ACCEPT_PATCH "Accept-Patch" | ||
435 | /* Standard. RFC7233, Section 2.3 */ | 427 | /* Standard. RFC7233, Section 2.3 */ |
436 | #define MHD_HTTP_HEADER_ACCEPT_RANGES "Accept-Ranges" | 428 | #define MHD_HTTP_HEADER_ACCEPT_RANGES "Accept-Ranges" |
437 | /* Standard. RFC7234, Section 5.1 */ | 429 | /* Standard. RFC7234, Section 5.1 */ |
438 | #define MHD_HTTP_HEADER_AGE "Age" | 430 | #define MHD_HTTP_HEADER_AGE "Age" |
439 | /* Standard. RFC7231, Section 7.4.1 */ | 431 | /* Standard. RFC7231, Section 7.4.1 */ |
440 | #define MHD_HTTP_HEADER_ALLOW "Allow" | 432 | #define MHD_HTTP_HEADER_ALLOW "Allow" |
433 | /* Standard. RFC7235, Section 4.2 */ | ||
434 | #define MHD_HTTP_HEADER_AUTHORIZATION "Authorization" | ||
435 | /* Standard. RFC7234, Section 5.2 */ | ||
436 | #define MHD_HTTP_HEADER_CACHE_CONTROL "Cache-Control" | ||
437 | /* Reserved. RFC7230, Section 8.1 */ | ||
438 | #define MHD_HTTP_HEADER_CLOSE "Close" | ||
439 | /* Standard. RFC7230, Section 6.1 */ | ||
440 | #define MHD_HTTP_HEADER_CONNECTION "Connection" | ||
441 | /* Standard. RFC7231, Section 3.1.2.2 */ | ||
442 | #define MHD_HTTP_HEADER_CONTENT_ENCODING "Content-Encoding" | ||
443 | /* Standard. RFC7231, Section 3.1.3.2 */ | ||
444 | #define MHD_HTTP_HEADER_CONTENT_LANGUAGE "Content-Language" | ||
445 | /* Standard. RFC7230, Section 3.3.2 */ | ||
446 | #define MHD_HTTP_HEADER_CONTENT_LENGTH "Content-Length" | ||
447 | /* Standard. RFC7231, Section 3.1.4.2 */ | ||
448 | #define MHD_HTTP_HEADER_CONTENT_LOCATION "Content-Location" | ||
449 | /* Standard. RFC7233, Section 4.2 */ | ||
450 | #define MHD_HTTP_HEADER_CONTENT_RANGE "Content-Range" | ||
451 | /* Standard. RFC7231, Section 3.1.1.5 */ | ||
452 | #define MHD_HTTP_HEADER_CONTENT_TYPE "Content-Type" | ||
453 | /* Standard. RFC7231, Section 7.1.1.2 */ | ||
454 | #define MHD_HTTP_HEADER_DATE "Date" | ||
455 | /* Standard. RFC7232, Section 2.3 */ | ||
456 | #define MHD_HTTP_HEADER_ETAG "ETag" | ||
457 | /* Standard. RFC7231, Section 5.1.1 */ | ||
458 | #define MHD_HTTP_HEADER_EXPECT "Expect" | ||
459 | /* Standard. RFC7234, Section 5.3 */ | ||
460 | #define MHD_HTTP_HEADER_EXPIRES "Expires" | ||
461 | /* Standard. RFC7231, Section 5.5.1 */ | ||
462 | #define MHD_HTTP_HEADER_FROM "From" | ||
463 | /* Standard. RFC7230, Section 5.4 */ | ||
464 | #define MHD_HTTP_HEADER_HOST "Host" | ||
465 | /* Standard. RFC7232, Section 3.1 */ | ||
466 | #define MHD_HTTP_HEADER_IF_MATCH "If-Match" | ||
467 | /* Standard. RFC7232, Section 3.3 */ | ||
468 | #define MHD_HTTP_HEADER_IF_MODIFIED_SINCE "If-Modified-Since" | ||
469 | /* Standard. RFC7232, Section 3.2 */ | ||
470 | #define MHD_HTTP_HEADER_IF_NONE_MATCH "If-None-Match" | ||
471 | /* Standard. RFC7233, Section 3.2 */ | ||
472 | #define MHD_HTTP_HEADER_IF_RANGE "If-Range" | ||
473 | /* Standard. RFC7232, Section 3.4 */ | ||
474 | #define MHD_HTTP_HEADER_IF_UNMODIFIED_SINCE "If-Unmodified-Since" | ||
475 | /* Standard. RFC7232, Section 2.2 */ | ||
476 | #define MHD_HTTP_HEADER_LAST_MODIFIED "Last-Modified" | ||
477 | /* Standard. RFC7231, Section 7.1.2 */ | ||
478 | #define MHD_HTTP_HEADER_LOCATION "Location" | ||
479 | /* Standard. RFC7231, Section 5.1.2 */ | ||
480 | #define MHD_HTTP_HEADER_MAX_FORWARDS "Max-Forwards" | ||
481 | /* Standard. RFC7231, Appendix A.1 */ | ||
482 | #define MHD_HTTP_HEADER_MIME_VERSION "MIME-Version" | ||
483 | /* Standard. RFC7234, Section 5.4 */ | ||
484 | #define MHD_HTTP_HEADER_PRAGMA "Pragma" | ||
485 | /* Standard. RFC7235, Section 4.3 */ | ||
486 | #define MHD_HTTP_HEADER_PROXY_AUTHENTICATE "Proxy-Authenticate" | ||
487 | /* Standard. RFC7235, Section 4.4 */ | ||
488 | #define MHD_HTTP_HEADER_PROXY_AUTHORIZATION "Proxy-Authorization" | ||
489 | /* Standard. RFC7233, Section 3.1 */ | ||
490 | #define MHD_HTTP_HEADER_RANGE "Range" | ||
491 | /* Standard. RFC7231, Section 5.5.2 */ | ||
492 | #define MHD_HTTP_HEADER_REFERER "Referer" | ||
493 | /* Standard. RFC7231, Section 7.1.3 */ | ||
494 | #define MHD_HTTP_HEADER_RETRY_AFTER "Retry-After" | ||
495 | /* Standard. RFC7231, Section 7.4.2 */ | ||
496 | #define MHD_HTTP_HEADER_SERVER "Server" | ||
497 | /* Standard. RFC7230, Section 4.3 */ | ||
498 | #define MHD_HTTP_HEADER_TE "TE" | ||
499 | /* Standard. RFC7230, Section 4.4 */ | ||
500 | #define MHD_HTTP_HEADER_TRAILER "Trailer" | ||
501 | /* Standard. RFC7230, Section 3.3.1 */ | ||
502 | #define MHD_HTTP_HEADER_TRANSFER_ENCODING "Transfer-Encoding" | ||
503 | /* Standard. RFC7230, Section 6.7 */ | ||
504 | #define MHD_HTTP_HEADER_UPGRADE "Upgrade" | ||
505 | /* Standard. RFC7231, Section 5.5.3 */ | ||
506 | #define MHD_HTTP_HEADER_USER_AGENT "User-Agent" | ||
507 | /* Standard. RFC7231, Section 7.1.4 */ | ||
508 | #define MHD_HTTP_HEADER_VARY "Vary" | ||
509 | /* Standard. RFC7230, Section 5.7.1 */ | ||
510 | #define MHD_HTTP_HEADER_VIA "Via" | ||
511 | /* Standard. RFC7235, Section 4.1 */ | ||
512 | #define MHD_HTTP_HEADER_WWW_AUTHENTICATE "WWW-Authenticate" | ||
513 | /* Standard. RFC7234, Section 5.5 */ | ||
514 | #define MHD_HTTP_HEADER_WARNING "Warning" | ||
515 | |||
516 | /* Additional HTTP headers. */ | ||
517 | /* No category. RFC4229 */ | ||
518 | #define MHD_HTTP_HEADER_A_IM "A-IM" | ||
519 | /* No category. RFC4229 */ | ||
520 | #define MHD_HTTP_HEADER_ACCEPT_ADDITIONS "Accept-Additions" | ||
521 | /* Informational. RFC7089 */ | ||
522 | #define MHD_HTTP_HEADER_ACCEPT_DATETIME "Accept-Datetime" | ||
523 | /* No category. RFC4229 */ | ||
524 | #define MHD_HTTP_HEADER_ACCEPT_FEATURES "Accept-Features" | ||
525 | /* No category. RFC5789 */ | ||
526 | #define MHD_HTTP_HEADER_ACCEPT_PATCH "Accept-Patch" | ||
441 | /* Standard. RFC7639, Section 2 */ | 527 | /* Standard. RFC7639, Section 2 */ |
442 | #define MHD_HTTP_HEADER_ALPN "ALPN" | 528 | #define MHD_HTTP_HEADER_ALPN "ALPN" |
443 | /* Standard. RFC7838 */ | 529 | /* Standard. RFC7838 */ |
@@ -452,8 +538,6 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
452 | #define MHD_HTTP_HEADER_AUTHENTICATION_CONTROL "Authentication-Control" | 538 | #define MHD_HTTP_HEADER_AUTHENTICATION_CONTROL "Authentication-Control" |
453 | /* Standard. RFC7615, Section 3 */ | 539 | /* Standard. RFC7615, Section 3 */ |
454 | #define MHD_HTTP_HEADER_AUTHENTICATION_INFO "Authentication-Info" | 540 | #define MHD_HTTP_HEADER_AUTHENTICATION_INFO "Authentication-Info" |
455 | /* Standard. RFC7235, Section 4.2 */ | ||
456 | #define MHD_HTTP_HEADER_AUTHORIZATION "Authorization" | ||
457 | /* No category. RFC4229 */ | 541 | /* No category. RFC4229 */ |
458 | #define MHD_HTTP_HEADER_C_EXT "C-Ext" | 542 | #define MHD_HTTP_HEADER_C_EXT "C-Ext" |
459 | /* No category. RFC4229 */ | 543 | /* No category. RFC4229 */ |
@@ -464,38 +548,20 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
464 | #define MHD_HTTP_HEADER_C_PEP "C-PEP" | 548 | #define MHD_HTTP_HEADER_C_PEP "C-PEP" |
465 | /* No category. RFC4229 */ | 549 | /* No category. RFC4229 */ |
466 | #define MHD_HTTP_HEADER_C_PEP_INFO "C-PEP-Info" | 550 | #define MHD_HTTP_HEADER_C_PEP_INFO "C-PEP-Info" |
467 | /* Standard. RFC7234, Section 5.2 */ | ||
468 | #define MHD_HTTP_HEADER_CACHE_CONTROL "Cache-Control" | ||
469 | /* Standard. RFC7809, Section 7.1 */ | 551 | /* Standard. RFC7809, Section 7.1 */ |
470 | #define MHD_HTTP_HEADER_CALDAV_TIMEZONES "CalDAV-Timezones" | 552 | #define MHD_HTTP_HEADER_CALDAV_TIMEZONES "CalDAV-Timezones" |
471 | /* Reserved. RFC7230, Section 8.1 */ | ||
472 | #define MHD_HTTP_HEADER_CLOSE "Close" | ||
473 | /* Standard. RFC7230, Section 6.1 */ | ||
474 | #define MHD_HTTP_HEADER_CONNECTION "Connection" | ||
475 | /* Obsoleted. RFC2068; RFC2616 */ | 553 | /* Obsoleted. RFC2068; RFC2616 */ |
476 | #define MHD_HTTP_HEADER_CONTENT_BASE "Content-Base" | 554 | #define MHD_HTTP_HEADER_CONTENT_BASE "Content-Base" |
477 | /* Standard. RFC6266 */ | 555 | /* Standard. RFC6266 */ |
478 | #define MHD_HTTP_HEADER_CONTENT_DISPOSITION "Content-Disposition" | 556 | #define MHD_HTTP_HEADER_CONTENT_DISPOSITION "Content-Disposition" |
479 | /* Standard. RFC7231, Section 3.1.2.2 */ | ||
480 | #define MHD_HTTP_HEADER_CONTENT_ENCODING "Content-Encoding" | ||
481 | /* No category. RFC4229 */ | 557 | /* No category. RFC4229 */ |
482 | #define MHD_HTTP_HEADER_CONTENT_ID "Content-ID" | 558 | #define MHD_HTTP_HEADER_CONTENT_ID "Content-ID" |
483 | /* Standard. RFC7231, Section 3.1.3.2 */ | ||
484 | #define MHD_HTTP_HEADER_CONTENT_LANGUAGE "Content-Language" | ||
485 | /* Standard. RFC7230, Section 3.3.2 */ | ||
486 | #define MHD_HTTP_HEADER_CONTENT_LENGTH "Content-Length" | ||
487 | /* Standard. RFC7231, Section 3.1.4.2 */ | ||
488 | #define MHD_HTTP_HEADER_CONTENT_LOCATION "Content-Location" | ||
489 | /* No category. RFC4229 */ | 559 | /* No category. RFC4229 */ |
490 | #define MHD_HTTP_HEADER_CONTENT_MD5 "Content-MD5" | 560 | #define MHD_HTTP_HEADER_CONTENT_MD5 "Content-MD5" |
491 | /* Standard. RFC7233, Section 4.2 */ | ||
492 | #define MHD_HTTP_HEADER_CONTENT_RANGE "Content-Range" | ||
493 | /* No category. RFC4229 */ | 561 | /* No category. RFC4229 */ |
494 | #define MHD_HTTP_HEADER_CONTENT_SCRIPT_TYPE "Content-Script-Type" | 562 | #define MHD_HTTP_HEADER_CONTENT_SCRIPT_TYPE "Content-Script-Type" |
495 | /* No category. RFC4229 */ | 563 | /* No category. RFC4229 */ |
496 | #define MHD_HTTP_HEADER_CONTENT_STYLE_TYPE "Content-Style-Type" | 564 | #define MHD_HTTP_HEADER_CONTENT_STYLE_TYPE "Content-Style-Type" |
497 | /* Standard. RFC7231, Section 3.1.1.5 */ | ||
498 | #define MHD_HTTP_HEADER_CONTENT_TYPE "Content-Type" | ||
499 | /* No category. RFC4229 */ | 565 | /* No category. RFC4229 */ |
500 | #define MHD_HTTP_HEADER_CONTENT_VERSION "Content-Version" | 566 | #define MHD_HTTP_HEADER_CONTENT_VERSION "Content-Version" |
501 | /* Standard. RFC6265 */ | 567 | /* Standard. RFC6265 */ |
@@ -506,8 +572,6 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
506 | #define MHD_HTTP_HEADER_DASL "DASL" | 572 | #define MHD_HTTP_HEADER_DASL "DASL" |
507 | /* Standard. RFC4918 */ | 573 | /* Standard. RFC4918 */ |
508 | #define MHD_HTTP_HEADER_DAV "DAV" | 574 | #define MHD_HTTP_HEADER_DAV "DAV" |
509 | /* Standard. RFC7231, Section 7.1.1.2 */ | ||
510 | #define MHD_HTTP_HEADER_DATE "Date" | ||
511 | /* No category. RFC4229 */ | 575 | /* No category. RFC4229 */ |
512 | #define MHD_HTTP_HEADER_DEFAULT_STYLE "Default-Style" | 576 | #define MHD_HTTP_HEADER_DEFAULT_STYLE "Default-Style" |
513 | /* No category. RFC4229 */ | 577 | /* No category. RFC4229 */ |
@@ -522,64 +586,36 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
522 | #define MHD_HTTP_HEADER_DIFFERENTIAL_ID "Differential-ID" | 586 | #define MHD_HTTP_HEADER_DIFFERENTIAL_ID "Differential-ID" |
523 | /* No category. RFC4229 */ | 587 | /* No category. RFC4229 */ |
524 | #define MHD_HTTP_HEADER_DIGEST "Digest" | 588 | #define MHD_HTTP_HEADER_DIGEST "Digest" |
525 | /* Standard. RFC7232, Section 2.3 */ | ||
526 | #define MHD_HTTP_HEADER_ETAG "ETag" | ||
527 | /* Standard. RFC7231, Section 5.1.1 */ | ||
528 | #define MHD_HTTP_HEADER_EXPECT "Expect" | ||
529 | /* Standard. RFC7234, Section 5.3 */ | ||
530 | #define MHD_HTTP_HEADER_EXPIRES "Expires" | ||
531 | /* No category. RFC4229 */ | 589 | /* No category. RFC4229 */ |
532 | #define MHD_HTTP_HEADER_EXT "Ext" | 590 | #define MHD_HTTP_HEADER_EXT "Ext" |
533 | /* Standard. RFC7239 */ | 591 | /* Standard. RFC7239 */ |
534 | #define MHD_HTTP_HEADER_FORWARDED "Forwarded" | 592 | #define MHD_HTTP_HEADER_FORWARDED "Forwarded" |
535 | /* Standard. RFC7231, Section 5.5.1 */ | ||
536 | #define MHD_HTTP_HEADER_FROM "From" | ||
537 | /* No category. RFC4229 */ | 593 | /* No category. RFC4229 */ |
538 | #define MHD_HTTP_HEADER_GETPROFILE "GetProfile" | 594 | #define MHD_HTTP_HEADER_GETPROFILE "GetProfile" |
539 | /* Experimental. RFC7486, Section 6.1.1 */ | 595 | /* Experimental. RFC7486, Section 6.1.1 */ |
540 | #define MHD_HTTP_HEADER_HOBAREG "Hobareg" | 596 | #define MHD_HTTP_HEADER_HOBAREG "Hobareg" |
541 | /* Standard. RFC7230, Section 5.4 */ | ||
542 | #define MHD_HTTP_HEADER_HOST "Host" | ||
543 | /* Standard. RFC7540, Section 3.2.1 */ | 597 | /* Standard. RFC7540, Section 3.2.1 */ |
544 | #define MHD_HTTP_HEADER_HTTP2_SETTINGS "HTTP2-Settings" | 598 | #define MHD_HTTP_HEADER_HTTP2_SETTINGS "HTTP2-Settings" |
545 | /* No category. RFC4229 */ | 599 | /* No category. RFC4229 */ |
546 | #define MHD_HTTP_HEADER_IM "IM" | 600 | #define MHD_HTTP_HEADER_IM "IM" |
547 | /* Standard. RFC4918 */ | 601 | /* Standard. RFC4918 */ |
548 | #define MHD_HTTP_HEADER_IF "If" | 602 | #define MHD_HTTP_HEADER_IF "If" |
549 | /* Standard. RFC7232, Section 3.1 */ | ||
550 | #define MHD_HTTP_HEADER_IF_MATCH "If-Match" | ||
551 | /* Standard. RFC7232, Section 3.3 */ | ||
552 | #define MHD_HTTP_HEADER_IF_MODIFIED_SINCE "If-Modified-Since" | ||
553 | /* Standard. RFC7232, Section 3.2 */ | ||
554 | #define MHD_HTTP_HEADER_IF_NONE_MATCH "If-None-Match" | ||
555 | /* Standard. RFC7233, Section 3.2 */ | ||
556 | #define MHD_HTTP_HEADER_IF_RANGE "If-Range" | ||
557 | /* Standard. RFC6638 */ | 603 | /* Standard. RFC6638 */ |
558 | #define MHD_HTTP_HEADER_IF_SCHEDULE_TAG_MATCH "If-Schedule-Tag-Match" | 604 | #define MHD_HTTP_HEADER_IF_SCHEDULE_TAG_MATCH "If-Schedule-Tag-Match" |
559 | /* Standard. RFC7232, Section 3.4 */ | ||
560 | #define MHD_HTTP_HEADER_IF_UNMODIFIED_SINCE "If-Unmodified-Since" | ||
561 | /* No category. RFC4229 */ | 605 | /* No category. RFC4229 */ |
562 | #define MHD_HTTP_HEADER_KEEP_ALIVE "Keep-Alive" | 606 | #define MHD_HTTP_HEADER_KEEP_ALIVE "Keep-Alive" |
563 | /* No category. RFC4229 */ | 607 | /* No category. RFC4229 */ |
564 | #define MHD_HTTP_HEADER_LABEL "Label" | 608 | #define MHD_HTTP_HEADER_LABEL "Label" |
565 | /* Standard. RFC7232, Section 2.2 */ | ||
566 | #define MHD_HTTP_HEADER_LAST_MODIFIED "Last-Modified" | ||
567 | /* No category. RFC5988 */ | 609 | /* No category. RFC5988 */ |
568 | #define MHD_HTTP_HEADER_LINK "Link" | 610 | #define MHD_HTTP_HEADER_LINK "Link" |
569 | /* Standard. RFC7231, Section 7.1.2 */ | ||
570 | #define MHD_HTTP_HEADER_LOCATION "Location" | ||
571 | /* Standard. RFC4918 */ | 611 | /* Standard. RFC4918 */ |
572 | #define MHD_HTTP_HEADER_LOCK_TOKEN "Lock-Token" | 612 | #define MHD_HTTP_HEADER_LOCK_TOKEN "Lock-Token" |
573 | /* No category. RFC4229 */ | 613 | /* No category. RFC4229 */ |
574 | #define MHD_HTTP_HEADER_MAN "Man" | 614 | #define MHD_HTTP_HEADER_MAN "Man" |
575 | /* Standard. RFC7231, Section 5.1.2 */ | ||
576 | #define MHD_HTTP_HEADER_MAX_FORWARDS "Max-Forwards" | ||
577 | /* Informational. RFC7089 */ | 615 | /* Informational. RFC7089 */ |
578 | #define MHD_HTTP_HEADER_MEMENTO_DATETIME "Memento-Datetime" | 616 | #define MHD_HTTP_HEADER_MEMENTO_DATETIME "Memento-Datetime" |
579 | /* No category. RFC4229 */ | 617 | /* No category. RFC4229 */ |
580 | #define MHD_HTTP_HEADER_METER "Meter" | 618 | #define MHD_HTTP_HEADER_METER "Meter" |
581 | /* Standard. RFC7231, Appendix A.1 */ | ||
582 | #define MHD_HTTP_HEADER_MIME_VERSION "MIME-Version" | ||
583 | /* No category. RFC4229 */ | 619 | /* No category. RFC4229 */ |
584 | #define MHD_HTTP_HEADER_NEGOTIATE "Negotiate" | 620 | #define MHD_HTTP_HEADER_NEGOTIATE "Negotiate" |
585 | /* No category. RFC4229 */ | 621 | /* No category. RFC4229 */ |
@@ -602,8 +638,6 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
602 | #define MHD_HTTP_HEADER_PEP_INFO "Pep-Info" | 638 | #define MHD_HTTP_HEADER_PEP_INFO "Pep-Info" |
603 | /* Standard. RFC4229 */ | 639 | /* Standard. RFC4229 */ |
604 | #define MHD_HTTP_HEADER_POSITION "Position" | 640 | #define MHD_HTTP_HEADER_POSITION "Position" |
605 | /* Standard. RFC7234, Section 5.4 */ | ||
606 | #define MHD_HTTP_HEADER_PRAGMA "Pragma" | ||
607 | /* Standard. RFC7240 */ | 641 | /* Standard. RFC7240 */ |
608 | #define MHD_HTTP_HEADER_PREFER "Prefer" | 642 | #define MHD_HTTP_HEADER_PREFER "Prefer" |
609 | /* Standard. RFC7240 */ | 643 | /* Standard. RFC7240 */ |
@@ -618,12 +652,8 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
618 | #define MHD_HTTP_HEADER_PROTOCOL_QUERY "Protocol-Query" | 652 | #define MHD_HTTP_HEADER_PROTOCOL_QUERY "Protocol-Query" |
619 | /* No category. RFC4229 */ | 653 | /* No category. RFC4229 */ |
620 | #define MHD_HTTP_HEADER_PROTOCOL_REQUEST "Protocol-Request" | 654 | #define MHD_HTTP_HEADER_PROTOCOL_REQUEST "Protocol-Request" |
621 | /* Standard. RFC7235, Section 4.3 */ | ||
622 | #define MHD_HTTP_HEADER_PROXY_AUTHENTICATE "Proxy-Authenticate" | ||
623 | /* Standard. RFC7615, Section 4 */ | 655 | /* Standard. RFC7615, Section 4 */ |
624 | #define MHD_HTTP_HEADER_PROXY_AUTHENTICATION_INFO "Proxy-Authentication-Info" | 656 | #define MHD_HTTP_HEADER_PROXY_AUTHENTICATION_INFO "Proxy-Authentication-Info" |
625 | /* Standard. RFC7235, Section 4.4 */ | ||
626 | #define MHD_HTTP_HEADER_PROXY_AUTHORIZATION "Proxy-Authorization" | ||
627 | /* No category. RFC4229 */ | 657 | /* No category. RFC4229 */ |
628 | #define MHD_HTTP_HEADER_PROXY_FEATURES "Proxy-Features" | 658 | #define MHD_HTTP_HEADER_PROXY_FEATURES "Proxy-Features" |
629 | /* No category. RFC4229 */ | 659 | /* No category. RFC4229 */ |
@@ -634,14 +664,8 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
634 | #define MHD_HTTP_HEADER_PUBLIC_KEY_PINS "Public-Key-Pins" | 664 | #define MHD_HTTP_HEADER_PUBLIC_KEY_PINS "Public-Key-Pins" |
635 | /* Standard. RFC7469 */ | 665 | /* Standard. RFC7469 */ |
636 | #define MHD_HTTP_HEADER_PUBLIC_KEY_PINS_REPORT_ONLY "Public-Key-Pins-Report-Only" | 666 | #define MHD_HTTP_HEADER_PUBLIC_KEY_PINS_REPORT_ONLY "Public-Key-Pins-Report-Only" |
637 | /* Standard. RFC7233, Section 3.1 */ | ||
638 | #define MHD_HTTP_HEADER_RANGE "Range" | ||
639 | /* No category. RFC4437 */ | 667 | /* No category. RFC4437 */ |
640 | #define MHD_HTTP_HEADER_REDIRECT_REF "Redirect-Ref" | 668 | #define MHD_HTTP_HEADER_REDIRECT_REF "Redirect-Ref" |
641 | /* Standard. RFC7231, Section 5.5.2 */ | ||
642 | #define MHD_HTTP_HEADER_REFERER "Referer" | ||
643 | /* Standard. RFC7231, Section 7.1.3 */ | ||
644 | #define MHD_HTTP_HEADER_RETRY_AFTER "Retry-After" | ||
645 | /* No category. RFC4229 */ | 669 | /* No category. RFC4229 */ |
646 | #define MHD_HTTP_HEADER_SAFE "Safe" | 670 | #define MHD_HTTP_HEADER_SAFE "Safe" |
647 | /* Standard. RFC6638 */ | 671 | /* Standard. RFC6638 */ |
@@ -660,8 +684,6 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
660 | #define MHD_HTTP_HEADER_SEC_WEBSOCKET_VERSION "Sec-WebSocket-Version" | 684 | #define MHD_HTTP_HEADER_SEC_WEBSOCKET_VERSION "Sec-WebSocket-Version" |
661 | /* No category. RFC4229 */ | 685 | /* No category. RFC4229 */ |
662 | #define MHD_HTTP_HEADER_SECURITY_SCHEME "Security-Scheme" | 686 | #define MHD_HTTP_HEADER_SECURITY_SCHEME "Security-Scheme" |
663 | /* Standard. RFC7231, Section 7.4.2 */ | ||
664 | #define MHD_HTTP_HEADER_SERVER "Server" | ||
665 | /* Standard. RFC6265 */ | 687 | /* Standard. RFC6265 */ |
666 | #define MHD_HTTP_HEADER_SET_COOKIE "Set-Cookie" | 688 | #define MHD_HTTP_HEADER_SET_COOKIE "Set-Cookie" |
667 | /* Obsoleted. RFC2965; RFC6265 */ | 689 | /* Obsoleted. RFC2965; RFC6265 */ |
@@ -682,38 +704,20 @@ MHD_get_reason_phrase_for (unsigned int code); | |||
682 | #define MHD_HTTP_HEADER_SURROGATE_CONTROL "Surrogate-Control" | 704 | #define MHD_HTTP_HEADER_SURROGATE_CONTROL "Surrogate-Control" |
683 | /* No category. RFC4229 */ | 705 | /* No category. RFC4229 */ |
684 | #define MHD_HTTP_HEADER_TCN "TCN" | 706 | #define MHD_HTTP_HEADER_TCN "TCN" |
685 | /* Standard. RFC7230, Section 4.3 */ | ||
686 | #define MHD_HTTP_HEADER_TE "TE" | ||
687 | /* Standard. RFC4918 */ | 707 | /* Standard. RFC4918 */ |
688 | #define MHD_HTTP_HEADER_TIMEOUT "Timeout" | 708 | #define MHD_HTTP_HEADER_TIMEOUT "Timeout" |
689 | /* Standard. RFC8030, Section 5.4 */ | 709 | /* Standard. RFC8030, Section 5.4 */ |
690 | #define MHD_HTTP_HEADER_TOPIC "Topic" | 710 | #define MHD_HTTP_HEADER_TOPIC "Topic" |
691 | /* Standard. RFC7230, Section 4.4 */ | ||
692 | #define MHD_HTTP_HEADER_TRAILER "Trailer" | ||
693 | /* Standard. RFC7230, Section 3.3.1 */ | ||
694 | #define MHD_HTTP_HEADER_TRANSFER_ENCODING "Transfer-Encoding" | ||
695 | /* Standard. RFC8030, Section 5.2 */ | 711 | /* Standard. RFC8030, Section 5.2 */ |
696 | #define MHD_HTTP_HEADER_TTL "TTL" | 712 | #define MHD_HTTP_HEADER_TTL "TTL" |
697 | /* Standard. RFC8030, Section 5.3 */ | 713 | /* Standard. RFC8030, Section 5.3 */ |
698 | #define MHD_HTTP_HEADER_URGENCY "Urgency" | 714 | #define MHD_HTTP_HEADER_URGENCY "Urgency" |
699 | /* No category. RFC4229 */ | 715 | /* No category. RFC4229 */ |
700 | #define MHD_HTTP_HEADER_URI "URI" | 716 | #define MHD_HTTP_HEADER_URI "URI" |
701 | /* Standard. RFC7230, Section 6.7 */ | ||
702 | #define MHD_HTTP_HEADER_UPGRADE "Upgrade" | ||
703 | /* Standard. RFC7231, Section 5.5.3 */ | ||
704 | #define MHD_HTTP_HEADER_USER_AGENT "User-Agent" | ||
705 | /* No category. RFC4229 */ | 717 | /* No category. RFC4229 */ |
706 | #define MHD_HTTP_HEADER_VARIANT_VARY "Variant-Vary" | 718 | #define MHD_HTTP_HEADER_VARIANT_VARY "Variant-Vary" |
707 | /* Standard. RFC7231, Section 7.1.4 */ | ||
708 | #define MHD_HTTP_HEADER_VARY "Vary" | ||
709 | /* Standard. RFC7230, Section 5.7.1 */ | ||
710 | #define MHD_HTTP_HEADER_VIA "Via" | ||
711 | /* Standard. RFC7235, Section 4.1 */ | ||
712 | #define MHD_HTTP_HEADER_WWW_AUTHENTICATE "WWW-Authenticate" | ||
713 | /* No category. RFC4229 */ | 719 | /* No category. RFC4229 */ |
714 | #define MHD_HTTP_HEADER_WANT_DIGEST "Want-Digest" | 720 | #define MHD_HTTP_HEADER_WANT_DIGEST "Want-Digest" |
715 | /* Standard. RFC7234, Section 5.5 */ | ||
716 | #define MHD_HTTP_HEADER_WARNING "Warning" | ||
717 | /* Informational. RFC7034 */ | 721 | /* Informational. RFC7034 */ |
718 | #define MHD_HTTP_HEADER_X_FRAME_OPTIONS "X-Frame-Options" | 722 | #define MHD_HTTP_HEADER_X_FRAME_OPTIONS "X-Frame-Options" |
719 | 723 | ||