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