Skip to content

Commit 1dc9c64

Browse files
committed
only list most common http headers.
1 parent 24c4329 commit 1dc9c64

File tree

1 file changed

+36
-78
lines changed

1 file changed

+36
-78
lines changed

mixer/v1/global_dictionary.yaml

Lines changed: 36 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#
2323
# Important update rules:
2424
# * never remove, only add new words.
25-
# * must be lower case since http headers are case insensitive.
25+
# * http headers should be lower case.
2626
# * not duplication, all words have to be unique.
2727
#
2828
# Tools:
@@ -70,106 +70,64 @@
7070
- response.duration
7171
- response.code
7272

73-
# Section 2: HTTP headers
74-
# extracted from https://en.wikipedia.org/wiki/List_of_HTTP_header_fields
75-
76-
# Request fields
77-
- accept
73+
# Section 2: HTTP common headers extracted from
74+
# https://tools.ietf.org/html/rfc7541#appendix-A
75+
- :authority
76+
- :method
77+
- :path
78+
- :scheme
79+
- :status
7880
- accept-charset
7981
- accept-encoding
8082
- accept-language
81-
- accept-datetime
83+
- accept-ranges
84+
- accept
85+
- access-control-allow
86+
- age
87+
- allow
8288
- authorization
8389
- cache-control
84-
- connection
85-
- cookie
90+
- content-disposition
91+
- content-encoding
92+
- content-language
8693
- content-length
87-
- content-md5
94+
- content-location
95+
- content-range
8896
- content-type
97+
- cookie
8998
- date
99+
- etag
90100
- expect
91-
- forwarded
101+
- expires
92102
- from
93103
- host
94104
- if-match
95105
- if-modified-since
96106
- if-none-match
97107
- if-range
98108
- if-unmodified-since
99-
- max-forwards
100-
- origin
101-
- pragma
102-
- proxy-authorization
103-
- range
104-
- referer
105-
- te
106-
- user-agent
107-
- upgrade
108-
- via
109-
- warning
110-
111-
# Common non-standard request fields
112-
- x-api-key
113-
- x-requested-with
114-
- dnt
115-
- x-forwarded-for
116-
- x-forwarded-host
117-
- x-forwarded-proto
118-
- front-end-https
119-
- x-http-method-override
120-
- x-att-deviceid
121-
- x-wap-profile
122-
- proxy-connection
123-
- x-uidh
124-
- x-csrf-token
125-
- x-request-id
126-
- x-correlation-id
127-
128-
# Response fields
129-
- access-control-allow-origin
130-
- accept-patch
131-
- accept-ranges
132-
- age
133-
- allow
134-
- alt-svc
135-
- content-disposition
136-
- content-encoding
137-
- content-language
138-
- content-location
139-
- content-range
140-
- etag
141-
- expires
142109
- last-modified
143110
- link
144111
- location
145-
- p3p
112+
- max-forwards
146113
- proxy-authenticate
147-
- public-key-pins
114+
- proxy-authorization
115+
- range
116+
- referer
148117
- refresh
149118
- retry-after
150119
- server
151120
- set-cookie
152-
- strict-transport-security
153-
- trailer
121+
- strict-transport-sec
154122
- transfer-encoding
155-
- tk
156-
- x-frame-options
157-
158-
# Common non-standard response fields
159-
- status
160-
- x-xss-protection
161-
- content-security-policy
162-
- x-content-security-policy
163-
- x-webkit-csp
164-
- x-content-type-options
165-
- x-powered-by
166-
- x-ua-compatible
167-
- x-content-duration
168-
- upgrade-insecure-requests
123+
- user-agent
124+
- vary
125+
- via
126+
- www-authenticate
169127

170-
# HTTP2 headers
171-
- :status
172-
- :method
173-
- :scheme
174-
- :authority
175-
- :path
128+
# HTTP methods
129+
- GET
130+
- POST
131+
- PUT
132+
- PATCH
133+
- DELETE

0 commit comments

Comments
 (0)