diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-19 13:01:25 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-12-19 15:44:54 +0300 |
commit | 969e64040fb6db2d23ca19617fe9701ae98491a4 (patch) | |
tree | 8b19372c1417cefcd50532d8c3842a31883ff094 | |
parent | c229373f236f5e84b3c1c437442f7cc850d26a72 (diff) | |
download | libmicrohttpd-969e64040fb6db2d23ca19617fe9701ae98491a4.tar.gz libmicrohttpd-969e64040fb6db2d23ca19617fe9701ae98491a4.zip |
Updated HTTP headers macros from registry
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/include/microhttpd.h | 102 |
2 files changed, 69 insertions, 36 deletions
@@ -30,7 +30,8 @@ December 2021 | |||
30 | anything is missing. | 30 | anything is missing. |
31 | Added Makefile silent rules support for W32 RC and W32 static libs. | 31 | Added Makefile silent rules support for W32 RC and W32 static libs. |
32 | Added local patches for autotools (mainly for libtool) to build MHD | 32 | Added local patches for autotools (mainly for libtool) to build MHD |
33 | correctly on modern MinGW64/Clang. -EG | 33 | correctly on modern MinGW64/Clang. |
34 | Updated HTTP headers macros from registry. -EG | ||
34 | 35 | ||
35 | November 2021 | 36 | November 2021 |
36 | Clarified comments and doxy for MHD_str* and related tests. | 37 | Clarified comments and doxy for MHD_str* and related tests. |
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index a6032d8b..70d29edc 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -339,7 +339,7 @@ _MHD_DEPR_MACRO ( \ | |||
339 | * @defgroup httpcode HTTP response codes. | 339 | * @defgroup httpcode HTTP response codes. |
340 | * These are the status codes defined for HTTP responses. | 340 | * These are the status codes defined for HTTP responses. |
341 | * See: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml | 341 | * See: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml |
342 | * Registry export date: 2021-10-30 | 342 | * Registry export date: 2021-12-19 |
343 | * @{ | 343 | * @{ |
344 | */ | 344 | */ |
345 | 345 | ||
@@ -490,7 +490,6 @@ _MHD_DEPR_MACRO ( \ | |||
490 | /* 509 "Bandwidth Limit Exceeded". Apache extension. */ | 490 | /* 509 "Bandwidth Limit Exceeded". Apache extension. */ |
491 | #define MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED 509 | 491 | #define MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED 509 |
492 | 492 | ||
493 | |||
494 | /* Deprecated names and codes */ | 493 | /* Deprecated names and codes */ |
495 | /** @deprecated */ | 494 | /** @deprecated */ |
496 | #define MHD_HTTP_METHOD_NOT_ACCEPTABLE \ | 495 | #define MHD_HTTP_METHOD_NOT_ACCEPTABLE \ |
@@ -574,7 +573,7 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
574 | * @defgroup headers HTTP headers | 573 | * @defgroup headers HTTP headers |
575 | * These are the standard headers found in HTTP requests and responses. | 574 | * These are the standard headers found in HTTP requests and responses. |
576 | * See: https://www.iana.org/assignments/http-fields/http-fields.xhtml | 575 | * See: https://www.iana.org/assignments/http-fields/http-fields.xhtml |
577 | * Registry export date: 2021-10-30 | 576 | * Registry export date: 2021-12-19 |
578 | * @{ | 577 | * @{ |
579 | */ | 578 | */ |
580 | 579 | ||
@@ -701,6 +700,29 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
701 | #define MHD_HTTP_HEADER_ACCEPT_FEATURES "Accept-Features" | 700 | #define MHD_HTTP_HEADER_ACCEPT_FEATURES "Accept-Features" |
702 | /* Permanent. https://www.w3.org/TR/ldp/ */ | 701 | /* Permanent. https://www.w3.org/TR/ldp/ */ |
703 | #define MHD_HTTP_HEADER_ACCEPT_POST "Accept-Post" | 702 | #define MHD_HTTP_HEADER_ACCEPT_POST "Accept-Post" |
703 | /* Permanent. https://fetch.spec.whatwg.org/#http-access-control-allow-credentials */ | ||
704 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS \ | ||
705 | "Access-Control-Allow-Credentials" | ||
706 | /* Permanent. https://fetch.spec.whatwg.org/#http-access-control-allow-headers */ | ||
707 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_HEADERS \ | ||
708 | "Access-Control-Allow-Headers" | ||
709 | /* Permanent. https://fetch.spec.whatwg.org/#http-access-control-allow-methods */ | ||
710 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_METHODS \ | ||
711 | "Access-Control-Allow-Methods" | ||
712 | /* Permanent. https://fetch.spec.whatwg.org/#http-access-control-allow-origin */ | ||
713 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN \ | ||
714 | "Access-Control-Allow-Origin" | ||
715 | /* Permanent. https://fetch.spec.whatwg.org/#http-access-control-expose-headers */ | ||
716 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS \ | ||
717 | "Access-Control-Expose-Headers" | ||
718 | /* Permanent. https://fetch.spec.whatwg.org/#http-access-control-max-age */ | ||
719 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_MAX_AGE "Access-Control-Max-Age" | ||
720 | /* Permanent. https://fetch.spec.whatwg.org/#http-access-control-request-headers */ | ||
721 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_REQUEST_HEADERS \ | ||
722 | "Access-Control-Request-Headers" | ||
723 | /* Permanent. https://fetch.spec.whatwg.org/#http-access-control-request-method */ | ||
724 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_REQUEST_METHOD \ | ||
725 | "Access-Control-Request-Method" | ||
704 | /* Permanent. RFC7639, Section 2 */ | 726 | /* Permanent. RFC7639, Section 2 */ |
705 | #define MHD_HTTP_HEADER_ALPN "ALPN" | 727 | #define MHD_HTTP_HEADER_ALPN "ALPN" |
706 | /* Permanent. RFC7838 */ | 728 | /* Permanent. RFC7838 */ |
@@ -737,12 +759,28 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
737 | #define MHD_HTTP_HEADER_CONTENT_ID "Content-ID" | 759 | #define MHD_HTTP_HEADER_CONTENT_ID "Content-ID" |
738 | /* Permanent. RFC4229 */ | 760 | /* Permanent. RFC4229 */ |
739 | #define MHD_HTTP_HEADER_CONTENT_SCRIPT_TYPE "Content-Script-Type" | 761 | #define MHD_HTTP_HEADER_CONTENT_SCRIPT_TYPE "Content-Script-Type" |
762 | /* Permanent. https://www.w3.org/TR/CSP/#csp-header */ | ||
763 | #define MHD_HTTP_HEADER_CONTENT_SECURITY_POLICY "Content-Security-Policy" | ||
764 | /* Permanent. https://www.w3.org/TR/CSP/#cspro-header */ | ||
765 | #define MHD_HTTP_HEADER_CONTENT_SECURITY_POLICY_REPORT_ONLY \ | ||
766 | "Content-Security-Policy-Report-Only" | ||
740 | /* Permanent. RFC4229 */ | 767 | /* Permanent. RFC4229 */ |
741 | #define MHD_HTTP_HEADER_CONTENT_STYLE_TYPE "Content-Style-Type" | 768 | #define MHD_HTTP_HEADER_CONTENT_STYLE_TYPE "Content-Style-Type" |
742 | /* Permanent. RFC4229 */ | 769 | /* Permanent. RFC4229 */ |
743 | #define MHD_HTTP_HEADER_CONTENT_VERSION "Content-Version" | 770 | #define MHD_HTTP_HEADER_CONTENT_VERSION "Content-Version" |
744 | /* Permanent. RFC6265 */ | 771 | /* Permanent. RFC6265 */ |
745 | #define MHD_HTTP_HEADER_COOKIE "Cookie" | 772 | #define MHD_HTTP_HEADER_COOKIE "Cookie" |
773 | /* Permanent. https://html.spec.whatwg.org/multipage/origin.html#cross-origin-embedder-policy */ | ||
774 | #define MHD_HTTP_HEADER_CROSS_ORIGIN_EMBEDDER_POLICY \ | ||
775 | "Cross-Origin-Embedder-Policy" | ||
776 | /* Permanent. https://html.spec.whatwg.org/multipage/origin.html#cross-origin-embedder-policy-report-only */ | ||
777 | #define MHD_HTTP_HEADER_CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY \ | ||
778 | "Cross-Origin-Embedder-Policy-Report-Only" | ||
779 | /* Permanent. https://html.spec.whatwg.org/multipage/origin.html#cross-origin-opener-policy-2 */ | ||
780 | #define MHD_HTTP_HEADER_CROSS_ORIGIN_OPENER_POLICY "Cross-Origin-Opener-Policy" | ||
781 | /* Permanent. https://html.spec.whatwg.org/multipage/origin.html#cross-origin-opener-policy-report-only */ | ||
782 | #define MHD_HTTP_HEADER_CROSS_ORIGIN_OPENER_POLICY_REPORT_ONLY \ | ||
783 | "Cross-Origin-Opener-Policy-Report-Only" | ||
746 | /* Permanent. https://fetch.spec.whatwg.org/#cross-origin-resource-policy-header */ | 784 | /* Permanent. https://fetch.spec.whatwg.org/#cross-origin-resource-policy-header */ |
747 | #define MHD_HTTP_HEADER_CROSS_ORIGIN_RESOURCE_POLICY \ | 785 | #define MHD_HTTP_HEADER_CROSS_ORIGIN_RESOURCE_POLICY \ |
748 | "Cross-Origin-Resource-Policy" | 786 | "Cross-Origin-Resource-Policy" |
@@ -789,6 +827,8 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
789 | #define MHD_HTTP_HEADER_KEEP_ALIVE "Keep-Alive" | 827 | #define MHD_HTTP_HEADER_KEEP_ALIVE "Keep-Alive" |
790 | /* Permanent. RFC4229 */ | 828 | /* Permanent. RFC4229 */ |
791 | #define MHD_HTTP_HEADER_LABEL "Label" | 829 | #define MHD_HTTP_HEADER_LABEL "Label" |
830 | /* Permanent. https://html.spec.whatwg.org/multipage/server-sent-events.html#last-event-id */ | ||
831 | #define MHD_HTTP_HEADER_LAST_EVENT_ID "Last-Event-ID" | ||
792 | /* Permanent. RFC8288 */ | 832 | /* Permanent. RFC8288 */ |
793 | #define MHD_HTTP_HEADER_LINK "Link" | 833 | #define MHD_HTTP_HEADER_LINK "Link" |
794 | /* Permanent. RFC4918 */ | 834 | /* Permanent. RFC4918 */ |
@@ -817,8 +857,12 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
817 | #define MHD_HTTP_HEADER_ORDERING_TYPE "Ordering-Type" | 857 | #define MHD_HTTP_HEADER_ORDERING_TYPE "Ordering-Type" |
818 | /* Permanent. RFC6454 */ | 858 | /* Permanent. RFC6454 */ |
819 | #define MHD_HTTP_HEADER_ORIGIN "Origin" | 859 | #define MHD_HTTP_HEADER_ORIGIN "Origin" |
860 | /* Permanent. https://html.spec.whatwg.org/multipage/origin.html#origin-agent-cluster */ | ||
861 | #define MHD_HTTP_HEADER_ORIGIN_AGENT_CLUSTER "Origin-Agent-Cluster" | ||
820 | /* Permanent. RFC8613, Section 11.1 */ | 862 | /* Permanent. RFC8613, Section 11.1 */ |
821 | #define MHD_HTTP_HEADER_OSCORE "OSCORE" | 863 | #define MHD_HTTP_HEADER_OSCORE "OSCORE" |
864 | /* Permanent. OASIS Project Specification 01; OASIS; Chet_Ensign */ | ||
865 | #define MHD_HTTP_HEADER_OSLC_CORE_VERSION "OSLC-Core-Version" | ||
822 | /* Permanent. RFC4918 */ | 866 | /* Permanent. RFC4918 */ |
823 | #define MHD_HTTP_HEADER_OVERWRITE "Overwrite" | 867 | #define MHD_HTTP_HEADER_OVERWRITE "Overwrite" |
824 | /* Permanent. RFC4229 */ | 868 | /* Permanent. RFC4229 */ |
@@ -829,6 +873,10 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
829 | #define MHD_HTTP_HEADER_PEP_INFO "Pep-Info" | 873 | #define MHD_HTTP_HEADER_PEP_INFO "Pep-Info" |
830 | /* Permanent. RFC4229 */ | 874 | /* Permanent. RFC4229 */ |
831 | #define MHD_HTTP_HEADER_PICS_LABEL "PICS-Label" | 875 | #define MHD_HTTP_HEADER_PICS_LABEL "PICS-Label" |
876 | /* Permanent. https://html.spec.whatwg.org/multipage/links.html#ping-from */ | ||
877 | #define MHD_HTTP_HEADER_PING_FROM "Ping-From" | ||
878 | /* Permanent. https://html.spec.whatwg.org/multipage/links.html#ping-to */ | ||
879 | #define MHD_HTTP_HEADER_PING_TO "Ping-To" | ||
832 | /* Permanent. RFC4229 */ | 880 | /* Permanent. RFC4229 */ |
833 | #define MHD_HTTP_HEADER_POSITION "Position" | 881 | #define MHD_HTTP_HEADER_POSITION "Position" |
834 | /* Permanent. RFC7240 */ | 882 | /* Permanent. RFC7240 */ |
@@ -854,6 +902,8 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
854 | "Public-Key-Pins-Report-Only" | 902 | "Public-Key-Pins-Report-Only" |
855 | /* Permanent. RFC4437 */ | 903 | /* Permanent. RFC4437 */ |
856 | #define MHD_HTTP_HEADER_REDIRECT_REF "Redirect-Ref" | 904 | #define MHD_HTTP_HEADER_REDIRECT_REF "Redirect-Ref" |
905 | /* Permanent. https://html.spec.whatwg.org/multipage/browsing-the-web.html#refresh */ | ||
906 | #define MHD_HTTP_HEADER_REFRESH "Refresh" | ||
857 | /* Permanent. RFC8555, Section 6.5.1 */ | 907 | /* Permanent. RFC8555, Section 6.5.1 */ |
858 | #define MHD_HTTP_HEADER_REPLAY_NONCE "Replay-Nonce" | 908 | #define MHD_HTTP_HEADER_REPLAY_NONCE "Replay-Nonce" |
859 | /* Permanent. RFC4229 */ | 909 | /* Permanent. RFC4229 */ |
@@ -876,6 +926,8 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
876 | #define MHD_HTTP_HEADER_SEC_WEBSOCKET_VERSION "Sec-WebSocket-Version" | 926 | #define MHD_HTTP_HEADER_SEC_WEBSOCKET_VERSION "Sec-WebSocket-Version" |
877 | /* Permanent. RFC4229 */ | 927 | /* Permanent. RFC4229 */ |
878 | #define MHD_HTTP_HEADER_SECURITY_SCHEME "Security-Scheme" | 928 | #define MHD_HTTP_HEADER_SECURITY_SCHEME "Security-Scheme" |
929 | /* Permanent. https://www.w3.org/TR/server-timing/ */ | ||
930 | #define MHD_HTTP_HEADER_SERVER_TIMING "Server-Timing" | ||
879 | /* Permanent. RFC6265 */ | 931 | /* Permanent. RFC6265 */ |
880 | #define MHD_HTTP_HEADER_SET_COOKIE "Set-Cookie" | 932 | #define MHD_HTTP_HEADER_SET_COOKIE "Set-Cookie" |
881 | /* Permanent. RFC4229 */ | 933 | /* Permanent. RFC4229 */ |
@@ -912,34 +964,16 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
912 | #define MHD_HTTP_HEADER_WANT_DIGEST "Want-Digest" | 964 | #define MHD_HTTP_HEADER_WANT_DIGEST "Want-Digest" |
913 | /* Permanent. https://fetch.spec.whatwg.org/#x-content-type-options-header */ | 965 | /* Permanent. https://fetch.spec.whatwg.org/#x-content-type-options-header */ |
914 | #define MHD_HTTP_HEADER_X_CONTENT_TYPE_OPTIONS "X-Content-Type-Options" | 966 | #define MHD_HTTP_HEADER_X_CONTENT_TYPE_OPTIONS "X-Content-Type-Options" |
915 | /* Permanent. RFC7034 */ | 967 | /* Permanent. https://html.spec.whatwg.org/multipage/browsing-the-web.html#x-frame-options */ |
916 | #define MHD_HTTP_HEADER_X_FRAME_OPTIONS "X-Frame-Options" | 968 | #define MHD_HTTP_HEADER_X_FRAME_OPTIONS "X-Frame-Options" |
917 | /* Provisional. RFC5789 */ | 969 | /* Provisional. RFC5789 */ |
918 | #define MHD_HTTP_HEADER_ACCEPT_PATCH "Accept-Patch" | 970 | #define MHD_HTTP_HEADER_ACCEPT_PATCH "Accept-Patch" |
919 | /* Provisional. W3C Web Application Formats Working Group */ | ||
920 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS \ | ||
921 | "Access-Control-Allow-Credentials" | ||
922 | /* Provisional. W3C Web Application Formats Working Group */ | ||
923 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_HEADERS \ | ||
924 | "Access-Control-Allow-Headers" | ||
925 | /* Provisional. W3C Web Application Formats Working Group */ | ||
926 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_METHODS \ | ||
927 | "Access-Control-Allow-Methods" | ||
928 | /* Provisional. W3C Web Application Formats Working Group */ | ||
929 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN \ | ||
930 | "Access-Control-Allow-Origin" | ||
931 | /* Provisional. W3C Web Application Formats Working Group */ | ||
932 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_MAX_AGE "Access-Control-Max-Age" | ||
933 | /* Provisional. W3C Web Application Formats Working Group */ | ||
934 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_REQUEST_HEADERS \ | ||
935 | "Access-Control-Request-Headers" | ||
936 | /* Provisional. W3C Web Application Formats Working Group */ | ||
937 | #define MHD_HTTP_HEADER_ACCESS_CONTROL_REQUEST_METHOD \ | ||
938 | "Access-Control-Request-Method" | ||
939 | /* Provisional. https://github.com/ampproject/amphtml/blob/master/spec/amp-cache-transform.md */ | 971 | /* Provisional. https://github.com/ampproject/amphtml/blob/master/spec/amp-cache-transform.md */ |
940 | #define MHD_HTTP_HEADER_AMP_CACHE_TRANSFORM "AMP-Cache-Transform" | 972 | #define MHD_HTTP_HEADER_AMP_CACHE_TRANSFORM "AMP-Cache-Transform" |
941 | /* Provisional. RFC4229 */ | 973 | /* Provisional. RFC4229 */ |
942 | #define MHD_HTTP_HEADER_COMPLIANCE "Compliance" | 974 | #define MHD_HTTP_HEADER_COMPLIANCE "Compliance" |
975 | /* Provisional. https://docs.oasis-open-projects.org/oslc-op/config/v1.0/psd01/config-resources.html#configcontext */ | ||
976 | #define MHD_HTTP_HEADER_CONFIGURATION_CONTEXT "Configuration-Context" | ||
943 | /* Provisional. RFC4229 */ | 977 | /* Provisional. RFC4229 */ |
944 | #define MHD_HTTP_HEADER_CONTENT_TRANSFER_ENCODING "Content-Transfer-Encoding" | 978 | #define MHD_HTTP_HEADER_CONTENT_TRANSFER_ENCODING "Content-Transfer-Encoding" |
945 | /* Provisional. RFC4229 */ | 979 | /* Provisional. RFC4229 */ |
@@ -954,8 +988,6 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
954 | #define MHD_HTTP_HEADER_NON_COMPLIANCE "Non-Compliance" | 988 | #define MHD_HTTP_HEADER_NON_COMPLIANCE "Non-Compliance" |
955 | /* Provisional. RFC4229 */ | 989 | /* Provisional. RFC4229 */ |
956 | #define MHD_HTTP_HEADER_OPTIONAL "Optional" | 990 | #define MHD_HTTP_HEADER_OPTIONAL "Optional" |
957 | /* Provisional. OASIS Project Specification 01; OASIS; Chet_Ensign */ | ||
958 | #define MHD_HTTP_HEADER_OSLC_CORE_VERSION "OSLC-Core-Version" | ||
959 | /* Provisional. Repeatable Requests Version 1.0; OASIS; Chet_Ensign */ | 991 | /* Provisional. Repeatable Requests Version 1.0; OASIS; Chet_Ensign */ |
960 | #define MHD_HTTP_HEADER_REPEATABILITY_CLIENT_ID "Repeatability-Client-ID" | 992 | #define MHD_HTTP_HEADER_REPEATABILITY_CLIENT_ID "Repeatability-Client-ID" |
961 | /* Provisional. Repeatable Requests Version 1.0; OASIS; Chet_Ensign */ | 993 | /* Provisional. Repeatable Requests Version 1.0; OASIS; Chet_Ensign */ |
@@ -1002,26 +1034,26 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
1002 | #define MHD_HTTP_HEADER_X_DEVICE_ACCEPT_LANGUAGE "X-Device-Accept-Language" | 1034 | #define MHD_HTTP_HEADER_X_DEVICE_ACCEPT_LANGUAGE "X-Device-Accept-Language" |
1003 | /* Provisional. W3C Mobile Web Best Practices Working Group */ | 1035 | /* Provisional. W3C Mobile Web Best Practices Working Group */ |
1004 | #define MHD_HTTP_HEADER_X_DEVICE_USER_AGENT "X-Device-User-Agent" | 1036 | #define MHD_HTTP_HEADER_X_DEVICE_USER_AGENT "X-Device-User-Agent" |
1005 | /* Deprecated. W3C Web Application Formats Working Group */ | ||
1006 | #define MHD_HTTP_HEADER_ACCESS_CONTROL "Access-Control" | ||
1007 | /* Deprecated. RFC4229 */ | 1037 | /* Deprecated. RFC4229 */ |
1008 | #define MHD_HTTP_HEADER_C_PEP_INFO "C-PEP-Info" | 1038 | #define MHD_HTTP_HEADER_C_PEP_INFO "C-PEP-Info" |
1009 | /* Deprecated. W3C Web Application Formats Working Group */ | ||
1010 | #define MHD_HTTP_HEADER_METHOD_CHECK "Method-Check" | ||
1011 | /* Deprecated. W3C Web Application Formats Working Group */ | ||
1012 | #define MHD_HTTP_HEADER_METHOD_CHECK_EXPIRES "Method-Check-Expires" | ||
1013 | /* Deprecated. RFC4229 */ | 1039 | /* Deprecated. RFC4229 */ |
1014 | #define MHD_HTTP_HEADER_PROTOCOL_INFO "Protocol-Info" | 1040 | #define MHD_HTTP_HEADER_PROTOCOL_INFO "Protocol-Info" |
1015 | /* Deprecated. RFC4229 */ | 1041 | /* Deprecated. RFC4229 */ |
1016 | #define MHD_HTTP_HEADER_PROTOCOL_QUERY "Protocol-Query" | 1042 | #define MHD_HTTP_HEADER_PROTOCOL_QUERY "Protocol-Query" |
1017 | /* Deprecated. W3C Web Application Formats Working Group */ | 1043 | /* Obsoleted. https://www.w3.org/TR/2007/WD-access-control-20071126/#access-control0 */ |
1018 | #define MHD_HTTP_HEADER_REFERER_ROOT "Referer-Root" | 1044 | #define MHD_HTTP_HEADER_ACCESS_CONTROL "Access-Control" |
1019 | /* Obsoleted. RFC2068; RFC2616 */ | 1045 | /* Obsoleted. RFC2068; RFC2616 */ |
1020 | #define MHD_HTTP_HEADER_CONTENT_BASE "Content-Base" | 1046 | #define MHD_HTTP_HEADER_CONTENT_BASE "Content-Base" |
1021 | /* Obsoleted. RFC2616, Section 14.15; RFC7231, Appendix B */ | 1047 | /* Obsoleted. RFC2616, Section 14.15; RFC7231, Appendix B */ |
1022 | #define MHD_HTTP_HEADER_CONTENT_MD5 "Content-MD5" | 1048 | #define MHD_HTTP_HEADER_CONTENT_MD5 "Content-MD5" |
1023 | /* Obsoleted. RFC2965; RFC6265 */ | 1049 | /* Obsoleted. RFC2965; RFC6265 */ |
1024 | #define MHD_HTTP_HEADER_COOKIE2 "Cookie2" | 1050 | #define MHD_HTTP_HEADER_COOKIE2 "Cookie2" |
1051 | /* Obsoleted. https://www.w3.org/TR/2007/WD-access-control-20071126/#method-check */ | ||
1052 | #define MHD_HTTP_HEADER_METHOD_CHECK "Method-Check" | ||
1053 | /* Obsoleted. https://www.w3.org/TR/2007/WD-access-control-20071126/#method-check-expires */ | ||
1054 | #define MHD_HTTP_HEADER_METHOD_CHECK_EXPIRES "Method-Check-Expires" | ||
1055 | /* Obsoleted. https://www.w3.org/TR/2007/WD-access-control-20071126/#referer-root */ | ||
1056 | #define MHD_HTTP_HEADER_REFERER_ROOT "Referer-Root" | ||
1025 | /* Obsoleted. RFC2965; RFC6265 */ | 1057 | /* Obsoleted. RFC2965; RFC6265 */ |
1026 | #define MHD_HTTP_HEADER_SET_COOKIE2 "Set-Cookie2" | 1058 | #define MHD_HTTP_HEADER_SET_COOKIE2 "Set-Cookie2" |
1027 | 1059 | ||
@@ -1045,7 +1077,7 @@ MHD_get_reason_phrase_len_for (unsigned int code); | |||
1045 | * @defgroup methods HTTP methods | 1077 | * @defgroup methods HTTP methods |
1046 | * HTTP methods (as strings). | 1078 | * HTTP methods (as strings). |
1047 | * See: http://www.iana.org/assignments/http-methods/http-methods.xml | 1079 | * See: http://www.iana.org/assignments/http-methods/http-methods.xml |
1048 | * Registry export date: 2021-10-30 | 1080 | * Registry export date: 2021-12-19 |
1049 | * @{ | 1081 | * @{ |
1050 | */ | 1082 | */ |
1051 | 1083 | ||