Add provisional IANA header field names

fix #473
This commit is contained in:
Vinnie Falco
2017-06-12 15:26:30 -07:00
parent 4d21f8d2cf
commit 0f54bc72a4
6 changed files with 238 additions and 58 deletions

View File

@@ -1,3 +1,9 @@
Version 56:
* Add provisional IANA header field names
--------------------------------------------------------------------------------
Version 55: Version 55:
* Don't allocate memory to handle obs-fold * Don't allocate memory to handle obs-fold

View File

@@ -30,6 +30,14 @@ enum class field : unsigned short
accept_patch, accept_patch,
accept_post, accept_post,
accept_ranges, accept_ranges,
access_control,
access_control_allow_credentials,
access_control_allow_headers,
access_control_allow_methods,
access_control_allow_origin,
access_control_max_age,
access_control_request_headers,
access_control_request_method,
age, age,
allow, allow,
alpn, alpn,
@@ -38,6 +46,7 @@ enum class field : unsigned short
alt_used, alt_used,
alternate_recipient, alternate_recipient,
alternates, alternates,
apparently_to,
apply_to_redirect_ref, apply_to_redirect_ref,
approved, approved,
archive, archive,
@@ -61,9 +70,12 @@ enum class field : unsigned short
c_pep_info, c_pep_info,
cache_control, cache_control,
caldav_timezones, caldav_timezones,
cancel_key,
cancel_lock,
cc, cc,
close, close,
comments, comments,
compliance,
connection, connection,
content_alternative, content_alternative,
content_base, content_base,
@@ -90,6 +102,7 @@ enum class field : unsigned short
conversion_with_loss, conversion_with_loss,
cookie, cookie,
cookie2, cookie2,
cost,
dasl, dasl,
date, date,
date_received, date_received,
@@ -132,8 +145,11 @@ enum class field : unsigned short
downgraded_return_path, downgraded_return_path,
downgraded_sender, downgraded_sender,
downgraded_to, downgraded_to,
ediint_features,
eesst_version,
encoding, encoding,
encrypted, encrypted,
errors_to,
etag, etag,
expect, expect,
expires, expires,
@@ -160,6 +176,7 @@ enum class field : unsigned short
incomplete_copy, incomplete_copy,
injection_date, injection_date,
injection_info, injection_info,
jabber_id,
keep_alive, keep_alive,
keywords, keywords,
label, label,
@@ -185,8 +202,11 @@ enum class field : unsigned short
message_id, message_id,
message_type, message_type,
meter, meter,
method_check,
method_check_expires,
mime_version, mime_version,
mmhs_acp127_message_identifier, mmhs_acp127_message_identifier,
mmhs_authorizing_users,
mmhs_codress_message_indicator, mmhs_codress_message_indicator,
mmhs_copy_precedence, mmhs_copy_precedence,
mmhs_exempted_address, mmhs_exempted_address,
@@ -205,8 +225,10 @@ enum class field : unsigned short
newsgroups, newsgroups,
nntp_posting_date, nntp_posting_date,
nntp_posting_host, nntp_posting_host,
non_compliance,
obsoletes, obsoletes,
opt, opt,
optional,
optional_www_authenticate, optional_www_authenticate,
ordering_type, ordering_type,
organization, organization,
@@ -231,6 +253,7 @@ enum class field : unsigned short
preference_applied, preference_applied,
prevent_nondelivery_report, prevent_nondelivery_report,
priority, priority,
privicon,
profileobject, profileobject,
protocol, protocol,
protocol_info, protocol_info,
@@ -251,6 +274,7 @@ enum class field : unsigned short
redirect_ref, redirect_ref,
references, references,
referer, referer,
referer_root,
relay_version, relay_version,
reply_by, reply_by,
reply_to, reply_to,
@@ -263,6 +287,8 @@ enum class field : unsigned short
resent_reply_to, resent_reply_to,
resent_sender, resent_sender,
resent_to, resent_to,
resolution_hint,
resolver_location,
retry_after, retry_after,
return_path, return_path,
safe, safe,
@@ -281,12 +307,16 @@ enum class field : unsigned short
set_cookie, set_cookie,
set_cookie2, set_cookie2,
setprofile, setprofile,
sio_label,
sio_label_history,
slug, slug,
soapaction, soapaction,
solicitation, solicitation,
status_uri, status_uri,
strict_transport_security, strict_transport_security,
subject, subject,
subok,
subst,
summary, summary,
supersedes, supersedes,
surrogate_capability, surrogate_capability,
@@ -294,11 +324,17 @@ enum class field : unsigned short
tcn, tcn,
te, te,
timeout, timeout,
title,
to, to,
topic, topic,
trailer, trailer,
transfer_encoding, transfer_encoding,
ttl, ttl,
ua_color,
ua_media,
ua_pixels,
ua_resolution,
ua_windowpixels,
upgrade, upgrade,
urgency, urgency,
uri, uri,
@@ -306,11 +342,25 @@ enum class field : unsigned short
variant_vary, variant_vary,
vary, vary,
vbr_info, vbr_info,
version,
via, via,
want_digest, want_digest,
warning, warning,
www_authenticate, www_authenticate,
x_archived_at,
x_device_accept,
x_device_accept_charset,
x_device_accept_encoding,
x_device_accept_language,
x_device_user_agent,
x_frame_options, x_frame_options,
x_mittente,
x_pgp_sig,
x_ricevuta,
x_riferimento_message_id,
x_tiporicevuta,
x_trasporto,
x_verificasicurezza,
x400_content_identifier, x400_content_identifier,
x400_content_return, x400_content_return,
x400_content_type, x400_content_type,

View File

@@ -21,7 +21,7 @@ namespace detail {
class field_strings class field_strings
{ {
using array_type = using array_type =
std::array<string_view, 302>; std::array<string_view, 352>;
array_type v_; array_type v_;
@@ -48,6 +48,14 @@ public:
"Accept-Patch", "Accept-Patch",
"Accept-Post", "Accept-Post",
"Accept-Ranges", "Accept-Ranges",
"Access-Control",
"Access-Control-Allow-Credentials",
"Access-Control-Allow-Headers",
"Access-Control-Allow-Methods",
"Access-Control-Allow-Origin",
"Access-Control-Max-Age",
"Access-Control-Request-Headers",
"Access-Control-Request-Method",
"Age", "Age",
"Allow", "Allow",
"ALPN", "ALPN",
@@ -56,6 +64,7 @@ public:
"Alt-Used", "Alt-Used",
"Alternate-Recipient", "Alternate-Recipient",
"Alternates", "Alternates",
"Apparently-To",
"Apply-To-Redirect-Ref", "Apply-To-Redirect-Ref",
"Approved", "Approved",
"Archive", "Archive",
@@ -79,9 +88,12 @@ public:
"C-PEP-Info", "C-PEP-Info",
"Cache-Control", "Cache-Control",
"CalDAV-Timezones", "CalDAV-Timezones",
"Cancel-Key",
"Cancel-Lock",
"Cc", "Cc",
"Close", "Close",
"Comments", "Comments",
"Compliance",
"Connection", "Connection",
"Content-Alternative", "Content-Alternative",
"Content-Base", "Content-Base",
@@ -108,6 +120,7 @@ public:
"Conversion-With-Loss", "Conversion-With-Loss",
"Cookie", "Cookie",
"Cookie2", "Cookie2",
"Cost",
"DASL", "DASL",
"Date", "Date",
"Date-Received", "Date-Received",
@@ -150,8 +163,11 @@ public:
"Downgraded-Return-Path", "Downgraded-Return-Path",
"Downgraded-Sender", "Downgraded-Sender",
"Downgraded-To", "Downgraded-To",
"EDIINT-Features",
"Eesst-Version",
"Encoding", "Encoding",
"Encrypted", "Encrypted",
"Errors-To",
"ETag", "ETag",
"Expect", "Expect",
"Expires", "Expires",
@@ -178,6 +194,7 @@ public:
"Incomplete-Copy", "Incomplete-Copy",
"Injection-Date", "Injection-Date",
"Injection-Info", "Injection-Info",
"Jabber-ID",
"Keep-Alive", "Keep-Alive",
"Keywords", "Keywords",
"Label", "Label",
@@ -203,8 +220,11 @@ public:
"Message-ID", "Message-ID",
"Message-Type", "Message-Type",
"Meter", "Meter",
"Method-Check",
"Method-Check-Expires",
"MIME-Version", "MIME-Version",
"MMHS-Acp127-Message-Identifier", "MMHS-Acp127-Message-Identifier",
"MMHS-Authorizing-Users",
"MMHS-Codress-Message-Indicator", "MMHS-Codress-Message-Indicator",
"MMHS-Copy-Precedence", "MMHS-Copy-Precedence",
"MMHS-Exempted-Address", "MMHS-Exempted-Address",
@@ -223,8 +243,10 @@ public:
"Newsgroups", "Newsgroups",
"NNTP-Posting-Date", "NNTP-Posting-Date",
"NNTP-Posting-Host", "NNTP-Posting-Host",
"Non-Compliance",
"Obsoletes", "Obsoletes",
"Opt", "Opt",
"Optional",
"Optional-WWW-Authenticate", "Optional-WWW-Authenticate",
"Ordering-Type", "Ordering-Type",
"Organization", "Organization",
@@ -249,6 +271,7 @@ public:
"Preference-Applied", "Preference-Applied",
"Prevent-NonDelivery-Report", "Prevent-NonDelivery-Report",
"Priority", "Priority",
"Privicon",
"ProfileObject", "ProfileObject",
"Protocol", "Protocol",
"Protocol-Info", "Protocol-Info",
@@ -269,6 +292,7 @@ public:
"Redirect-Ref", "Redirect-Ref",
"References", "References",
"Referer", "Referer",
"Referer-Root",
"Relay-Version", "Relay-Version",
"Reply-By", "Reply-By",
"Reply-To", "Reply-To",
@@ -281,6 +305,8 @@ public:
"Resent-Reply-To", "Resent-Reply-To",
"Resent-Sender", "Resent-Sender",
"Resent-To", "Resent-To",
"Resolution-Hint",
"Resolver-Location",
"Retry-After", "Retry-After",
"Return-Path", "Return-Path",
"Safe", "Safe",
@@ -299,12 +325,16 @@ public:
"Set-Cookie", "Set-Cookie",
"Set-Cookie2", "Set-Cookie2",
"SetProfile", "SetProfile",
"SIO-Label",
"SIO-Label-History",
"SLUG", "SLUG",
"SoapAction", "SoapAction",
"Solicitation", "Solicitation",
"Status-URI", "Status-URI",
"Strict-Transport-Security", "Strict-Transport-Security",
"Subject", "Subject",
"SubOK",
"Subst",
"Summary", "Summary",
"Supersedes", "Supersedes",
"Surrogate-Capability", "Surrogate-Capability",
@@ -312,11 +342,17 @@ public:
"TCN", "TCN",
"TE", "TE",
"Timeout", "Timeout",
"Title",
"To", "To",
"Topic", "Topic",
"Trailer", "Trailer",
"Transfer-Encoding", "Transfer-Encoding",
"TTL", "TTL",
"UA-Color",
"UA-Media",
"UA-Pixels",
"UA-Resolution",
"UA-Windowpixels",
"Upgrade", "Upgrade",
"Urgency", "Urgency",
"URI", "URI",
@@ -324,11 +360,25 @@ public:
"Variant-Vary", "Variant-Vary",
"Vary", "Vary",
"VBR-Info", "VBR-Info",
"Version",
"Via", "Via",
"Want-Digest", "Want-Digest",
"Warning", "Warning",
"WWW-Authenticate", "WWW-Authenticate",
"X-Archived-At",
"X-Device-Accept",
"X-Device-Accept-Charset",
"X-Device-Accept-Encoding",
"X-Device-Accept-Language",
"X-Device-User-Agent",
"X-Frame-Options", "X-Frame-Options",
"X-Mittente",
"X-PGP-Sig",
"X-Ricevuta",
"X-Riferimento-Message-ID",
"X-TipoRicevuta",
"X-Trasporto",
"X-VerificaSicurezza",
"X400-Content-Identifier", "X400-Content-Identifier",
"X400-Content-Return", "X400-Content-Return",
"X400-Content-Type", "X400-Content-Type",
@@ -337,7 +387,7 @@ public:
"X400-Received", "X400-Received",
"X400-Recipients", "X400-Recipients",
"X400-Trace", "X400-Trace",
"Xref", "Xref"
}}) }})
{ {
} }

View File

@@ -1,4 +1,3 @@
A-IM
Accept Accept
Accept-Additions Accept-Additions
Accept-Charset Accept-Charset
@@ -6,65 +5,66 @@ Accept-Datetime
Accept-Encoding Accept-Encoding
Accept-Features Accept-Features
Accept-Language Accept-Language
Accept-Language
Accept-Patch Accept-Patch
Accept-Post Accept-Post
Accept-Ranges Accept-Ranges
Access-Control
Access-Control-Allow-Credentials
Access-Control-Allow-Headers
Access-Control-Allow-Methods
Access-Control-Allow-Origin
Access-Control-Max-Age
Access-Control-Request-Headers
Access-Control-Request-Method
Age Age
A-IM
Allow Allow
ALPN ALPN
Also-Control Also-Control
Alt-Svc
Alt-Used
Alternate-Recipient Alternate-Recipient
Alternates Alternates
Alt-Svc
Alt-Used
Apparently-To
Apply-To-Redirect-Ref Apply-To-Redirect-Ref
Approved Approved
Archive Archive
Archived-At Archived-At
Archived-At
Article-Names Article-Names
Article-Updates Article-Updates
Authentication-Control Authentication-Control
Authentication-Info Authentication-Info
Authentication-Results Authentication-Results
Authorization Authorization
Auto-Submitted
Autoforwarded Autoforwarded
Autosubmitted Autosubmitted
Auto-Submitted
Base Base
Bcc Bcc
Body Body
C-Ext
C-Man
C-Opt
C-PEP
C-PEP-Info
Cache-Control Cache-Control
CalDAV-Timezones CalDAV-Timezones
Cancel-Key
Cancel-Lock
Cc Cc
C-Ext
Close Close
C-Man
Comments Comments
Comments Compliance
Connection Connection
Content-Alternative Content-Alternative
Content-Base Content-Base
Content-Base
Content-Description Content-Description
Content-Disposition Content-Disposition
Content-Disposition
Content-Duration Content-Duration
Content-Encoding Content-Encoding
Content-features Content-features
Content-ID Content-ID
Content-ID
Content-Identifier Content-Identifier
Content-Language Content-Language
Content-Language
Content-Length Content-Length
Content-Location Content-Location
Content-Location
Content-MD5
Content-MD5 Content-MD5
Content-Range Content-Range
Content-Return Content-Return
@@ -72,20 +72,20 @@ Content-Script-Type
Content-Style-Type Content-Style-Type
Content-Transfer-Encoding Content-Transfer-Encoding
Content-Type Content-Type
Content-Type
Content-Version Content-Version
Control Control
Conversion Conversion
Conversion-With-Loss Conversion-With-Loss
Cookie Cookie
Cookie2 Cookie2
C-Opt
Cost
C-PEP
C-PEP-Info
DASL DASL
DAV
DL-Expansion-History
Date
Date
Date Date
Date-Received Date-Received
DAV
Default-Style Default-Style
Deferred-Delivery Deferred-Delivery
Delivery-Date Delivery-Date
@@ -102,6 +102,7 @@ Disposition-Notification-Options
Disposition-Notification-To Disposition-Notification-To
Distribution Distribution
DKIM-Signature DKIM-Signature
DL-Expansion-History
Downgraded-Bcc Downgraded-Bcc
Downgraded-Cc Downgraded-Cc
Downgraded-Disposition-Notification-To Downgraded-Disposition-Notification-To
@@ -123,26 +124,24 @@ Downgraded-Resent-To
Downgraded-Return-Path Downgraded-Return-Path
Downgraded-Sender Downgraded-Sender
Downgraded-To Downgraded-To
EDIINT-Features
Eesst-Version
Encoding Encoding
Encrypted Encrypted
Errors-To
ETag ETag
Expect Expect
Expires Expires
Expires
Expires
Expiry-Date Expiry-Date
Ext Ext
Followup-To Followup-To
Forwarded Forwarded
From From
From
From
Generate-Delivery-Report Generate-Delivery-Report
GetProfile GetProfile
Hobareg Hobareg
Host Host
HTTP2-Settings HTTP2-Settings
IM
If If
If-Match If-Match
If-Modified-Since If-Modified-Since
@@ -150,14 +149,15 @@ If-None-Match
If-Range If-Range
If-Schedule-Tag-Match If-Schedule-Tag-Match
If-Unmodified-Since If-Unmodified-Since
IM
Importance Importance
In-Reply-To
Incomplete-Copy Incomplete-Copy
Injection-Date Injection-Date
Injection-Info Injection-Info
In-Reply-To
Jabber-ID
Keep-Alive Keep-Alive
Keywords Keywords
Keywords
Label Label
Language Language
Last-Modified Last-Modified
@@ -179,51 +179,52 @@ Max-Forwards
Memento-Datetime Memento-Datetime
Message-Context Message-Context
Message-ID Message-ID
Message-ID
Message-Type Message-Type
Meter Meter
Method-Check
Method-Check-Expires
MIME-Version MIME-Version
MIME-Version MMHS-Acp127-Message-Identifier
MMHS-Authorizing-Users
MMHS-Codress-Message-Indicator
MMHS-Copy-Precedence
MMHS-Exempted-Address MMHS-Exempted-Address
MMHS-Extended-Authorisation-Info MMHS-Extended-Authorisation-Info
MMHS-Subject-Indicator-Codes
MMHS-Handling-Instructions MMHS-Handling-Instructions
MMHS-Message-Instructions MMHS-Message-Instructions
MMHS-Codress-Message-Indicator
MMHS-Originator-Reference
MMHS-Primary-Precedence
MMHS-Copy-Precedence
MMHS-Message-Type MMHS-Message-Type
MMHS-Other-Recipients-Indicator-To
MMHS-Other-Recipients-Indicator-CC
MMHS-Acp127-Message-Identifier
MMHS-Originator-PLAD MMHS-Originator-PLAD
MMHS-Originator-Reference
MMHS-Other-Recipients-Indicator-CC
MMHS-Other-Recipients-Indicator-To
MMHS-Primary-Precedence
MMHS-Subject-Indicator-Codes
MT-Priority MT-Priority
Negotiate Negotiate
Newsgroups Newsgroups
NNTP-Posting-Date NNTP-Posting-Date
NNTP-Posting-Host NNTP-Posting-Host
Non-Compliance
Obsoletes Obsoletes
Opt Opt
Optional
Optional-WWW-Authenticate Optional-WWW-Authenticate
Ordering-Type Ordering-Type
Organization Organization
Organization
Origin Origin
Original-Encoded-Information-Types Original-Encoded-Information-Types
Original-From Original-From
Original-Message-ID Original-Message-ID
Original-Recipient Original-Recipient
Original-Sender Original-Sender
Originator-Return-Address
Original-Subject Original-Subject
Originator-Return-Address
Overwrite Overwrite
P3P P3P
Path Path
PEP PEP
PICS-Label
PICS-Label
Pep-Info Pep-Info
PICS-Label
Position Position
Posting-Version Posting-Version
Pragma Pragma
@@ -231,6 +232,7 @@ Prefer
Preference-Applied Preference-Applied
Prevent-NonDelivery-Report Prevent-NonDelivery-Report
Priority Priority
Privicon
ProfileObject ProfileObject
Protocol Protocol
Protocol-Info Protocol-Info
@@ -239,6 +241,7 @@ Protocol-Request
Proxy-Authenticate Proxy-Authenticate
Proxy-Authentication-Info Proxy-Authentication-Info
Proxy-Authorization Proxy-Authorization
Proxy-Connection
Proxy-Features Proxy-Features
Proxy-Instruction Proxy-Instruction
Public Public
@@ -249,12 +252,11 @@ Received
Received-SPF Received-SPF
Redirect-Ref Redirect-Ref
References References
References
Referer Referer
Referer-Root
Relay-Version Relay-Version
Reply-By Reply-By
Reply-To Reply-To
Reply-To
Require-Recipient-Valid-Since Require-Recipient-Valid-Since
Resent-Bcc Resent-Bcc
Resent-Cc Resent-Cc
@@ -264,57 +266,66 @@ Resent-Message-ID
Resent-Reply-To Resent-Reply-To
Resent-Sender Resent-Sender
Resent-To Resent-To
Resolution-Hint
Resolver-Location
Retry-After Retry-After
Return-Path Return-Path
Safe Safe
Schedule-Reply Schedule-Reply
Schedule-Tag Schedule-Tag
Security-Scheme
Sec-WebSocket-Accept Sec-WebSocket-Accept
Sec-WebSocket-Extensions Sec-WebSocket-Extensions
Sec-WebSocket-Key Sec-WebSocket-Key
Sec-WebSocket-Protocol Sec-WebSocket-Protocol
Sec-WebSocket-Version Sec-WebSocket-Version
Security-Scheme
See-Also See-Also
Sender Sender
Sender
Sensitivity Sensitivity
Server Server
Set-Cookie Set-Cookie
Set-Cookie2 Set-Cookie2
SetProfile SetProfile
SIO-Label
SIO-Label-History
SLUG SLUG
SoapAction SoapAction
Solicitation Solicitation
Status-URI Status-URI
Strict-Transport-Security Strict-Transport-Security
Subject Subject
Subject SubOK
Subst
Summary Summary
Supersedes Supersedes
Supersedes
Surrogate-Capability Surrogate-Capability
Surrogate-Control Surrogate-Control
TCN TCN
TE TE
Timeout Timeout
Title
To To
Topic Topic
Trailer Trailer
Transfer-Encoding Transfer-Encoding
TTL TTL
UA-Color
UA-Media
UA-Pixels
UA-Resolution
UA-Windowpixels
Upgrade
Urgency Urgency
URI URI
Upgrade
User-Agent
User-Agent User-Agent
Variant-Vary Variant-Vary
Vary Vary
VBR-Info VBR-Info
Version
Via Via
WWW-Authenticate
Want-Digest Want-Digest
Warning Warning
WWW-Authenticate
X400-Content-Identifier X400-Content-Identifier
X400-Content-Return X400-Content-Return
X400-Content-Type X400-Content-Type
@@ -323,5 +334,18 @@ X400-Originator
X400-Received X400-Received
X400-Recipients X400-Recipients
X400-Trace X400-Trace
X-Archived-At
X-Device-Accept
X-Device-Accept-Charset
X-Device-Accept-Encoding
X-Device-Accept-Language
X-Device-User-Agent
X-Frame-Options X-Frame-Options
X-Mittente
X-PGP-Sig
Xref Xref
X-Ricevuta
X-Riferimento-Message-ID
X-TipoRicevuta
X-Trasporto
X-VerificaSicurezza

View File

@@ -4,7 +4,7 @@ export LC_COLLATE=C
echo "// string constants" echo "// string constants"
echo ' "<unknown-field>",' echo ' "<unknown-field>",'
cat $1 | uniq | sort -f | sed 's/^/ \"/; s/$/\",/' cat $1 | sort -f | uniq | sed 's/^/ \"/; s/$/\",/'
echo echo
echo "enum class field : unsigned short" echo "enum class field : unsigned short"
@@ -12,11 +12,11 @@ echo "{"
echo " unknown = 0," echo " unknown = 0,"
echo echo
#cat $1 | uniq | sort -f | sed 's/./\L&/g; s/^/\t/; s/$/,/' #cat $1 | uniq | sort -f | sed 's/./\L&/g; s/^/\t/; s/$/,/'
cat $1 | uniq | sort -f | sed 's/\(.*\)/ \L\1,/; s/-/_/g' cat $1 | sort -f | uniq | sed 's/\(.*\)/ \L\1,/; s/-/_/g'
echo "};" echo "};"
echo echo
echo "// pairs" echo "// pairs"
#cat $1 | uniq | sort -f | sed 's/\(.*\)/\tmatch\(field::\L\1, \"\E\1\"\);/; s/-/_/' #cat $1 | uniq | sort -f | sed 's/\(.*\)/\tmatch\(field::\L\1, \"\E\1\"\);/; s/-/_/'
cat $1 | uniq | sort -f | perl -nE 'chomp; $a=lc($_); $a=~s/-/_/g; say " match(field::$a, \"$_\");";' | tr -d "\015" cat $1 | sort -f | uniq | perl -nE 'chomp; $a=lc($_); $a=~s/-/_/g; say " match(field::$a, \"$_\");";' | tr -d "\015"

View File

@@ -44,6 +44,14 @@ public:
match(field::accept_patch, "Accept-Patch"); match(field::accept_patch, "Accept-Patch");
match(field::accept_post, "Accept-Post"); match(field::accept_post, "Accept-Post");
match(field::accept_ranges, "Accept-Ranges"); match(field::accept_ranges, "Accept-Ranges");
match(field::access_control, "Access-Control");
match(field::access_control_allow_credentials, "Access-Control-Allow-Credentials");
match(field::access_control_allow_headers, "Access-Control-Allow-Headers");
match(field::access_control_allow_methods, "Access-Control-Allow-Methods");
match(field::access_control_allow_origin, "Access-Control-Allow-Origin");
match(field::access_control_max_age, "Access-Control-Max-Age");
match(field::access_control_request_headers, "Access-Control-Request-Headers");
match(field::access_control_request_method, "Access-Control-Request-Method");
match(field::age, "Age"); match(field::age, "Age");
match(field::allow, "Allow"); match(field::allow, "Allow");
match(field::alpn, "ALPN"); match(field::alpn, "ALPN");
@@ -52,6 +60,7 @@ public:
match(field::alt_used, "Alt-Used"); match(field::alt_used, "Alt-Used");
match(field::alternate_recipient, "Alternate-Recipient"); match(field::alternate_recipient, "Alternate-Recipient");
match(field::alternates, "Alternates"); match(field::alternates, "Alternates");
match(field::apparently_to, "Apparently-To");
match(field::apply_to_redirect_ref, "Apply-To-Redirect-Ref"); match(field::apply_to_redirect_ref, "Apply-To-Redirect-Ref");
match(field::approved, "Approved"); match(field::approved, "Approved");
match(field::archive, "Archive"); match(field::archive, "Archive");
@@ -75,9 +84,12 @@ public:
match(field::c_pep_info, "C-PEP-Info"); match(field::c_pep_info, "C-PEP-Info");
match(field::cache_control, "Cache-Control"); match(field::cache_control, "Cache-Control");
match(field::caldav_timezones, "CalDAV-Timezones"); match(field::caldav_timezones, "CalDAV-Timezones");
match(field::cancel_key, "Cancel-Key");
match(field::cancel_lock, "Cancel-Lock");
match(field::cc, "Cc"); match(field::cc, "Cc");
match(field::close, "Close"); match(field::close, "Close");
match(field::comments, "Comments"); match(field::comments, "Comments");
match(field::compliance, "Compliance");
match(field::connection, "Connection"); match(field::connection, "Connection");
match(field::content_alternative, "Content-Alternative"); match(field::content_alternative, "Content-Alternative");
match(field::content_base, "Content-Base"); match(field::content_base, "Content-Base");
@@ -104,6 +116,7 @@ public:
match(field::conversion_with_loss, "Conversion-With-Loss"); match(field::conversion_with_loss, "Conversion-With-Loss");
match(field::cookie, "Cookie"); match(field::cookie, "Cookie");
match(field::cookie2, "Cookie2"); match(field::cookie2, "Cookie2");
match(field::cost, "Cost");
match(field::dasl, "DASL"); match(field::dasl, "DASL");
match(field::date, "Date"); match(field::date, "Date");
match(field::date_received, "Date-Received"); match(field::date_received, "Date-Received");
@@ -146,8 +159,11 @@ public:
match(field::downgraded_return_path, "Downgraded-Return-Path"); match(field::downgraded_return_path, "Downgraded-Return-Path");
match(field::downgraded_sender, "Downgraded-Sender"); match(field::downgraded_sender, "Downgraded-Sender");
match(field::downgraded_to, "Downgraded-To"); match(field::downgraded_to, "Downgraded-To");
match(field::ediint_features, "EDIINT-Features");
match(field::eesst_version, "Eesst-Version");
match(field::encoding, "Encoding"); match(field::encoding, "Encoding");
match(field::encrypted, "Encrypted"); match(field::encrypted, "Encrypted");
match(field::errors_to, "Errors-To");
match(field::etag, "ETag"); match(field::etag, "ETag");
match(field::expect, "Expect"); match(field::expect, "Expect");
match(field::expires, "Expires"); match(field::expires, "Expires");
@@ -174,6 +190,7 @@ public:
match(field::incomplete_copy, "Incomplete-Copy"); match(field::incomplete_copy, "Incomplete-Copy");
match(field::injection_date, "Injection-Date"); match(field::injection_date, "Injection-Date");
match(field::injection_info, "Injection-Info"); match(field::injection_info, "Injection-Info");
match(field::jabber_id, "Jabber-ID");
match(field::keep_alive, "Keep-Alive"); match(field::keep_alive, "Keep-Alive");
match(field::keywords, "Keywords"); match(field::keywords, "Keywords");
match(field::label, "Label"); match(field::label, "Label");
@@ -199,8 +216,11 @@ public:
match(field::message_id, "Message-ID"); match(field::message_id, "Message-ID");
match(field::message_type, "Message-Type"); match(field::message_type, "Message-Type");
match(field::meter, "Meter"); match(field::meter, "Meter");
match(field::method_check, "Method-Check");
match(field::method_check_expires, "Method-Check-Expires");
match(field::mime_version, "MIME-Version"); match(field::mime_version, "MIME-Version");
match(field::mmhs_acp127_message_identifier, "MMHS-Acp127-Message-Identifier"); match(field::mmhs_acp127_message_identifier, "MMHS-Acp127-Message-Identifier");
match(field::mmhs_authorizing_users, "MMHS-Authorizing-Users");
match(field::mmhs_codress_message_indicator, "MMHS-Codress-Message-Indicator"); match(field::mmhs_codress_message_indicator, "MMHS-Codress-Message-Indicator");
match(field::mmhs_copy_precedence, "MMHS-Copy-Precedence"); match(field::mmhs_copy_precedence, "MMHS-Copy-Precedence");
match(field::mmhs_exempted_address, "MMHS-Exempted-Address"); match(field::mmhs_exempted_address, "MMHS-Exempted-Address");
@@ -219,8 +239,10 @@ public:
match(field::newsgroups, "Newsgroups"); match(field::newsgroups, "Newsgroups");
match(field::nntp_posting_date, "NNTP-Posting-Date"); match(field::nntp_posting_date, "NNTP-Posting-Date");
match(field::nntp_posting_host, "NNTP-Posting-Host"); match(field::nntp_posting_host, "NNTP-Posting-Host");
match(field::non_compliance, "Non-Compliance");
match(field::obsoletes, "Obsoletes"); match(field::obsoletes, "Obsoletes");
match(field::opt, "Opt"); match(field::opt, "Opt");
match(field::optional, "Optional");
match(field::optional_www_authenticate, "Optional-WWW-Authenticate"); match(field::optional_www_authenticate, "Optional-WWW-Authenticate");
match(field::ordering_type, "Ordering-Type"); match(field::ordering_type, "Ordering-Type");
match(field::organization, "Organization"); match(field::organization, "Organization");
@@ -245,6 +267,7 @@ public:
match(field::preference_applied, "Preference-Applied"); match(field::preference_applied, "Preference-Applied");
match(field::prevent_nondelivery_report, "Prevent-NonDelivery-Report"); match(field::prevent_nondelivery_report, "Prevent-NonDelivery-Report");
match(field::priority, "Priority"); match(field::priority, "Priority");
match(field::privicon, "Privicon");
match(field::profileobject, "ProfileObject"); match(field::profileobject, "ProfileObject");
match(field::protocol, "Protocol"); match(field::protocol, "Protocol");
match(field::protocol_info, "Protocol-Info"); match(field::protocol_info, "Protocol-Info");
@@ -265,6 +288,7 @@ public:
match(field::redirect_ref, "Redirect-Ref"); match(field::redirect_ref, "Redirect-Ref");
match(field::references, "References"); match(field::references, "References");
match(field::referer, "Referer"); match(field::referer, "Referer");
match(field::referer_root, "Referer-Root");
match(field::relay_version, "Relay-Version"); match(field::relay_version, "Relay-Version");
match(field::reply_by, "Reply-By"); match(field::reply_by, "Reply-By");
match(field::reply_to, "Reply-To"); match(field::reply_to, "Reply-To");
@@ -277,6 +301,8 @@ public:
match(field::resent_reply_to, "Resent-Reply-To"); match(field::resent_reply_to, "Resent-Reply-To");
match(field::resent_sender, "Resent-Sender"); match(field::resent_sender, "Resent-Sender");
match(field::resent_to, "Resent-To"); match(field::resent_to, "Resent-To");
match(field::resolution_hint, "Resolution-Hint");
match(field::resolver_location, "Resolver-Location");
match(field::retry_after, "Retry-After"); match(field::retry_after, "Retry-After");
match(field::return_path, "Return-Path"); match(field::return_path, "Return-Path");
match(field::safe, "Safe"); match(field::safe, "Safe");
@@ -295,12 +321,16 @@ public:
match(field::set_cookie, "Set-Cookie"); match(field::set_cookie, "Set-Cookie");
match(field::set_cookie2, "Set-Cookie2"); match(field::set_cookie2, "Set-Cookie2");
match(field::setprofile, "SetProfile"); match(field::setprofile, "SetProfile");
match(field::sio_label, "SIO-Label");
match(field::sio_label_history, "SIO-Label-History");
match(field::slug, "SLUG"); match(field::slug, "SLUG");
match(field::soapaction, "SoapAction"); match(field::soapaction, "SoapAction");
match(field::solicitation, "Solicitation"); match(field::solicitation, "Solicitation");
match(field::status_uri, "Status-URI"); match(field::status_uri, "Status-URI");
match(field::strict_transport_security, "Strict-Transport-Security"); match(field::strict_transport_security, "Strict-Transport-Security");
match(field::subject, "Subject"); match(field::subject, "Subject");
match(field::subok, "SubOK");
match(field::subst, "Subst");
match(field::summary, "Summary"); match(field::summary, "Summary");
match(field::supersedes, "Supersedes"); match(field::supersedes, "Supersedes");
match(field::surrogate_capability, "Surrogate-Capability"); match(field::surrogate_capability, "Surrogate-Capability");
@@ -308,11 +338,17 @@ public:
match(field::tcn, "TCN"); match(field::tcn, "TCN");
match(field::te, "TE"); match(field::te, "TE");
match(field::timeout, "Timeout"); match(field::timeout, "Timeout");
match(field::title, "Title");
match(field::to, "To"); match(field::to, "To");
match(field::topic, "Topic"); match(field::topic, "Topic");
match(field::trailer, "Trailer"); match(field::trailer, "Trailer");
match(field::transfer_encoding, "Transfer-Encoding"); match(field::transfer_encoding, "Transfer-Encoding");
match(field::ttl, "TTL"); match(field::ttl, "TTL");
match(field::ua_color, "UA-Color");
match(field::ua_media, "UA-Media");
match(field::ua_pixels, "UA-Pixels");
match(field::ua_resolution, "UA-Resolution");
match(field::ua_windowpixels, "UA-Windowpixels");
match(field::upgrade, "Upgrade"); match(field::upgrade, "Upgrade");
match(field::urgency, "Urgency"); match(field::urgency, "Urgency");
match(field::uri, "URI"); match(field::uri, "URI");
@@ -320,11 +356,25 @@ public:
match(field::variant_vary, "Variant-Vary"); match(field::variant_vary, "Variant-Vary");
match(field::vary, "Vary"); match(field::vary, "Vary");
match(field::vbr_info, "VBR-Info"); match(field::vbr_info, "VBR-Info");
match(field::version, "Version");
match(field::via, "Via"); match(field::via, "Via");
match(field::want_digest, "Want-Digest"); match(field::want_digest, "Want-Digest");
match(field::warning, "Warning"); match(field::warning, "Warning");
match(field::www_authenticate, "WWW-Authenticate"); match(field::www_authenticate, "WWW-Authenticate");
match(field::x_archived_at, "X-Archived-At");
match(field::x_device_accept, "X-Device-Accept");
match(field::x_device_accept_charset, "X-Device-Accept-Charset");
match(field::x_device_accept_encoding, "X-Device-Accept-Encoding");
match(field::x_device_accept_language, "X-Device-Accept-Language");
match(field::x_device_user_agent, "X-Device-User-Agent");
match(field::x_frame_options, "X-Frame-Options"); match(field::x_frame_options, "X-Frame-Options");
match(field::x_mittente, "X-Mittente");
match(field::x_pgp_sig, "X-PGP-Sig");
match(field::x_ricevuta, "X-Ricevuta");
match(field::x_riferimento_message_id, "X-Riferimento-Message-ID");
match(field::x_tiporicevuta, "X-TipoRicevuta");
match(field::x_trasporto, "X-Trasporto");
match(field::x_verificasicurezza, "X-VerificaSicurezza");
match(field::x400_content_identifier, "X400-Content-Identifier"); match(field::x400_content_identifier, "X400-Content-Identifier");
match(field::x400_content_return, "X400-Content-Return"); match(field::x400_content_return, "X400-Content-Return");
match(field::x400_content_type, "X400-Content-Type"); match(field::x400_content_type, "X400-Content-Type");