File: strings_http.h

package info (click to toggle)
re2c 4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,512 kB
  • sloc: cpp: 34,160; ml: 8,494; sh: 5,311; makefile: 1,014; haskell: 611; python: 431; ansic: 234; javascript: 113
file content (305 lines) | stat: -rw-r--r-- 12,489 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
#ifndef _RE2C_BENCHMRKS_COMMON_STRINGS_HTTP_
#define _RE2C_BENCHMRKS_COMMON_STRINGS_HTTP_

static const char *http_strings[] = {
    "HTTP/5.9 430 1wSXfgruktPZfhxm\n"
    "X-Forwarded-For: client1, proxy1, proxy2\n"
    "WWW-Authenticate: Basic\n"
    "Connection: keep-alive\n"
    "x-wap-profile: http://wap.samsungmobile.com/uaprof/SGH-I777.xml\n"
    "Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==\n"
    "X-Request-ID: f058ebd6-02f7-4d3f-942e-904344e8cde5\n"
    "Cache-Control: max-age=3600\n"
    "X-Att-Deviceid: GT-P7320/P7320XXLPG\n"
    "Accept-Charset: utf-8\n"
    "Max-Forwards: 10\n"
    "Access-Control-Allow-Origin: *\n"
    "P3P: CP=\"This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info.\"\n"
,
    "HTTP/9.9 858 13rxsOgH\n"
    "If-None-Match: \"737060cd8c284d8af7ad3082f209582d\"\n"
    "X-Frame-Options: deny\n"
    "Access-Control-Allow-Origin: *\n"
    "Connection: keep-alive\n"
    "Retry-After: 120\n"
    "ETag: \"737060cd8c284d8af7ad3082f209582d\"\n"
    "Content-Range: bytes 21010-47021/47022\n"
    "Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==\n"
    "Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==\n"
    "X-UA-Compatible: IE=edge\n"
    "Content-Location: /index.htm\n"
    "X-UA-Compatible: Chrome=1\n"
    "Content-Language: da\n"
    "Accept: text/plain\n"
    "Host: en.wikipedia.org:8080\n"
    "Accept-Datetime: Thu, 31 May 2007 20:35:00 GMT\n"
    "X-HTTP-Method-Override: DELETE\n"
    "Warning: 199 Miscellaneous warning\n"
    "Accept-Charset: utf-8\n"
    "Content-Location: /index.htm\n"
    "Content-Range: bytes 21010-47021/47022\n"
    "Retry-After: 120\n"
,
    "PATCH * HTTP/4.7\n"
    "Accept-Datetime: Thu, 31 May 2007 20:35:00 GMT\n"
    "Content-Type: text/html; charset=utf-8\n"
    "Proxy-Connection: keep-alive\n"
    "Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==\n"
    "X-Att-Deviceid: GT-P7320/P7320XXLPG\n"
    "X-Forwarded-Host: en.wikipedia.org:8080\n"
,
    "HTTP/0.9 510 ZvGc2\n"
    "X-WebKit-CSP: default-src 'self'\n"
    "Content-Location: /index.htm\n"
    "X-UA-Compatible: Chrome=1\n"
    "Via: 1.0 fred, 1.1 example.com (Apache/1.1)\n"
    "X-Forwarded-Host: en.wikipedia.org\n"
    "Public-Key-Pins: max-age=2592000; pin-sha256=\"E9CZ9INDbd+2eRQozYqqbQ2yXLVKB9+xcprMF+44U1g=\";\n"
    "Pragma: no-cache\n"
    "Content-Location: /index.htm\n"
    "Retry-After: Fri, 07 Nov 2014 23:59:59 GMT\n"
    "Refresh: 5; url=http://www.w3.org/pub/WWW/People.html\n"
    "Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==\n"
    "Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==\n"
    "Connection: Upgrade\n"
    "Content-Length: 51\n"
    "Status: 200 OK\n"
    "Strict-Transport-Security: max-age=16070400; includeSubDomains\n"
    "Max-Forwards: 10\n"
    "Age: 12\n"
    "Alt-Svc: http/1.1=\"http2.example.com:8001\"; ma=7200\n"
    "X-Att-Deviceid: GT-P7320/P7320XXLPG\n"
    "Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==\n"
    "X-WebKit-CSP: default-src 'self'\n"
    "Upgrade: HTTPS/1.3, IRC/6.9, RTA/x11, websocket\n"
    "If-Range: \"737060cd8c284d8af7ad3082f209582d\"\n"
,
    "HTTP/3.5 110 Aoq7A3pMGQq mgWvAz3GgU2Vlb\n"
    "X-UIDH: ...\n"
    "X-WebKit-CSP: default-src 'self'\n"
    "If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT\n"
    "From: user@example.com\n"
    "Refresh: 5; url=http://www.w3.org/pub/WWW/People.html\n"
    "Tk: ?\n"
    "Connection: keep-alive\n"
    "Origin: http://www.example-social-network.com\n"
    "X-UIDH: ...\n"
    "Accept-Charset: utf-8\n"
    "Content-Type: application/x-www-form-urlencoded\n"
    "Via: 1.0 fred, 1.1 example.com (Apache/1.1)\n"
    "Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==\n"
    "DNT: 1 (Do Not Track Enabled)\n"
    "Content-Encoding: gzip\n"
    "If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT\n"
    "Proxy-Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==\n"
    "Accept: text/plain\n"
,
    "HTTP/3.6 975 SX UZSJdUJbVnFDeyLMzdyVb\n"
    "X-Forwarded-Host: en.wikipedia.org\n"
    "Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1\n"
    "Expect: 100-continue\n"
    "Content-Encoding: gzip\n"
    "Forwarded: for=192.0.2.60;proto=http;by=203.0.113.43\n"
    "Content-Length: 348\n"
    "Upgrade-Insecure-Requests: 1\n"
    "Accept-Patch: text/example;charset=utf-8\n"
    "Pragma: no-cache\n"
    "Vary: *\n"
,
    "HTTP/0.3 764 tfEoJrK 2p1F2Ao7OGUTxW\n"
    "Connection: close\n"
    "Referer: http://en.wikipedia.org/wiki/Main_Page\n"
    "X-Content-Duration: 42.666\n"
    "X-Request-ID: f058ebd6-02f7-4d3f-942e-904344e8cde5\n"
    "Via: 1.0 fred, 1.1 example.com (Apache/1.1)\n"
    "Cache-Control: no-cache\n"
    "Status: 200 OK\n"
    "Access-Control-Allow-Origin: *\n"
,
    "HTTP/9.7 828 9AvNbuZbvGKrCMzbUHOHwhQ4h\n"
    "X-Content-Duration: 42.666\n"
    "Trailer: Max-Forwards\n"
    "Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==\n"
    "Content-Type: text/html; charset=utf-8\n"
    "Forwarded: for=192.0.2.43, for=198.51.100.17\n"
    "If-Range: \"737060cd8c284d8af7ad3082f209582d\"\n"
    "Pragma: no-cache\n"
    "Accept-Language: en-US\n"
    "Host: en.wikipedia.org:8080\n"
    "If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT\n"
    "Content-Encoding: gzip\n"
    "Range: bytes=500-999\n"
    "Via: 1.0 fred, 1.1 example.com (Apache/1.1)\n"
    "Proxy-Authenticate: Basic\n"
    "X-XSS-Protection: 1; mode=block\n"
    "Allow: GET, HEAD\n"
    "Connection: Upgrade\n"
    "Retry-After: 120\n"
    "X-UIDH: ...\n"
    "Content-Type: text/html; charset=utf-8\n"
    "Pragma: no-cache\n"
    "Via: 1.0 fred, 1.1 example.com (Apache/1.1)\n"
    "Strict-Transport-Security: max-age=16070400; includeSubDomains\n"
    "X-Frame-Options: deny\n"
    "X-Forwarded-For: client1, proxy1, proxy2\n"
    "Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==\n"
    "WWW-Authenticate: Basic\n"
    "Tk: ?\n"
    "X-Content-Type-Options: nosniff\n"
    "Accept-Language: en-US\n"
,
    "HTTP/6.1 785 qED83aUkhrTKg7W3iQta4\n"
    "Origin: http://www.example-social-network.com\n"
    "x-wap-profile: http://wap.samsungmobile.com/uaprof/SGH-I777.xml\n"
    "Connection: Upgrade\n"
    "Vary: Accept-Language\n"
    "Content-Disposition: attachment; filename=\"fname.ext\"\n"
    "Warning: 199 Miscellaneous warning\n"
    "Warning: 199 Miscellaneous warning\n"
    "X-Forwarded-For: client1, proxy1, proxy2\n"
    "Strict-Transport-Security: max-age=16070400; includeSubDomains\n"
    "Link: </feed>; rel=\"alternate\"\n"
    "Pragma: no-cache\n"
    "X-Powered-By: PHP/5.4.0\n"
    "Vary: Accept-Language\n"
    "Accept: text/plain\n"
    "Pragma: no-cache\n"
    "Vary: Accept-Language\n"
    "x-wap-profile: http://wap.samsungmobile.com/uaprof/SGH-I777.xml\n"
    "Upgrade-Insecure-Requests: 1\n"
    "X-Att-Deviceid: GT-P7320/P7320XXLPG\n"
    "Tk: ?\n"
    "Content-Location: /index.htm\n"
    "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0\n"
    "X-XSS-Protection: 1; mode=block\n"
    "Content-Disposition: attachment; filename=\"fname.ext\"\n"
,
    "PUT mdwishunysbgnqpk:uqfKE@154.41.44.150:8226 HTTP/7.1\n"
    "Content-Type: application/x-www-form-urlencoded\n"
    "From: user@example.com\n"
    "Cache-Control: no-cache\n"
    "Upgrade: HTTPS/1.3, IRC/6.9, RTA/x11, websocket\n"
    "DNT: 1 (Do Not Track Enabled)\n"
    "Public-Key-Pins: max-age=2592000; pin-sha256=\"E9CZ9INDbd+2eRQozYqqbQ2yXLVKB9+xcprMF+44U1g=\";\n"
    "Vary: Accept-Language\n"
    "Accept: text/plain\n"
    "Server: Apache/2.4.1 (Unix)\n"
    "X-UIDH: ...\n"
    "Cache-Control: no-cache\n"
    "Tk: ?\n"
    "Max-Forwards: 10\n"
    "X-UA-Compatible: IE=edge\n"
    "Max-Forwards: 10\n"
    "Proxy-Authenticate: Basic\n"
    "X-Forwarded-Proto: https\n"
    "X-Content-Type-Options: nosniff\n"
    "From: user@example.com\n"
    "P3P: CP=\"This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info.\"\n"
    "X-WebKit-CSP: default-src 'self'\n"
    "X-Content-Duration: 42.666\n"
    "TE: trailers, deflate\n"
    "Forwarded: for=192.0.2.43, for=198.51.100.17\n"
    "Connection: keep-alive\n"
    "Expires: Thu, 01 Dec 1994 16:00:00 GMT\n"
    "Date: Tue, 15 Nov 1994 08:12:31 GMT\n"
    "Via: 1.0 fred, 1.1 example.com (Apache/1.1)\n"
    "Tk: ?\n"
,
    "HTTP/7.3 997 DRQt ANhTIi\n"
    "Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==\n"
    "Upgrade: HTTPS/1.3, IRC/6.9, RTA/x11, websocket\n"
    "Via: 1.0 fred, 1.1 example.com (Apache/1.1)\n"
    "If-Range: \"737060cd8c284d8af7ad3082f209582d\"\n"
    "Location: http://www.w3.org/pub/WWW/People.html\n"
    "Content-Length: 51\n"
    "Forwarded: for=192.0.2.60;proto=http;by=203.0.113.43\n"
    "Alt-Svc: http/1.1=\"http2.example.com:8001\"; ma=7200\n"
    "X-Content-Duration: 42.666\n"
    "X-UIDH: ...\n"
    "Content-Language: da\n"
    "X-Csrf-Token: i8XNjC4b8KVok4uw5RftR38Wgp2BFwql\n"
    "Host: en.wikipedia.org:8080\n"
    "Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1\n"
    "Range: bytes=500-999\n"
    "Strict-Transport-Security: max-age=16070400; includeSubDomains\n"
    "Accept-Charset: utf-8\n"
    "Accept-Datetime: Thu, 31 May 2007 20:35:00 GMT\n"
,
    "HTTP/3.6 160 hE\n"
    "P3P: CP=\"This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info.\"\n"
    "X-Powered-By: PHP/5.4.0\n"
    "Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1\n"
    "Strict-Transport-Security: max-age=16070400; includeSubDomains\n"
    "X-Frame-Options: deny\n"
    "X-Requested-With: XMLHttpRequest\n"
    "X-Powered-By: PHP/5.4.0\n"
    "Retry-After: 120\n"
    "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0\n"
    "X-Csrf-Token: i8XNjC4b8KVok4uw5RftR38Wgp2BFwql\n"
    "Content-Type: text/html; charset=utf-8\n"
    "x-wap-profile: http://wap.samsungmobile.com/uaprof/SGH-I777.xml\n"
    "P3P: CP=\"This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info.\"\n"
    "Accept-Language: en-US\n"
    "Via: 1.0 fred, 1.1 example.com (Apache/1.1)\n"
    "Pragma: no-cache\n"
    "Content-Type: application/x-www-form-urlencoded\n"
    "X-Requested-With: XMLHttpRequest\n"
    "TE: trailers, deflate\n"
    "If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT\n"
    "Expect: 100-continue\n"
    "Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1\n"
    "Vary: *\n"
    "X-Forwarded-Host: en.wikipedia.org\n"
    "Host: en.wikipedia.org:8080\n"
    "X-HTTP-Method-Override: DELETE\n"
    "If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT\n"
,
    "HTTP/6.2 328 pNN5oXYb1EMAiYawAbGE4rvjBbQ\n"
    "Allow: GET, HEAD\n"
    "Server: Apache/2.4.1 (Unix)\n"
    "Retry-After: Fri, 07 Nov 2014 23:59:59 GMT\n"
    "Cache-Control: max-age=3600\n"
    "X-Content-Type-Options: nosniff\n"
    "Upgrade: HTTPS/1.3, IRC/6.9, RTA/x11, websocket\n"
    "Cache-Control: no-cache\n"
,
    "GET https://249.225.169.119/qmpvnqskjdsgffmsqlwvrtckpjtx/xnaszgbskztlups/wuftfvlrw/nxkpghvpjanyvdok/hxbkqjlxjdklws/onecmivzmyrwznwantuqtpz/baetoveozlpg/dgmebtggvxowkmgpyzrakffcznrzte/odbpmrrlyvzerirapn/ihkcubbsihtvenhfpnvpqf HTTP/9.1\n"
    "If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT\n"
    "Age: 12\n"
    "X-WebKit-CSP: default-src 'self'\n"
    "Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1\n"
    "If-Range: \"737060cd8c284d8af7ad3082f209582d\"\n"
    "TE: trailers, deflate\n"
    "X-Content-Type-Options: nosniff\n"
    "Accept-Language: en-US\n"
    "Proxy-Connection: keep-alive\n"
    "Status: 200 OK\n"
    "Alt-Svc: http/1.1=\"http2.example.com:8001\"; ma=7200\n"
    "Upgrade-Insecure-Requests: 1\n"
    "Expect: 100-continue\n"
,
    "HTTP/3.5 316 Bw05n9Cca\n"
    "Pragma: no-cache\n"
,
    "TRACE /kkyixdxiqyprpbwrqxrqmcz/kcepeaxtpiilfqacenwr/gkgruemrmvfeggastznmmaswf/zeysudldmbvmanstxpzsf/tdzor/jra/soygcoxezeuceiqybnsyzkrrsg/crny/jihmzdrvanvepaophpflwgpaluk/psnbrz HTTP/4.6\n"
    "ETag: \"737060cd8c284d8af7ad3082f209582d\"\n"
    "Proxy-Authenticate: Basic\n"
    "Link: </feed>; rel=\"alternate\"\n"
    "X-Forwarded-Proto: https\n"
    "Front-End-Https: on\n"
    "ETag: \"737060cd8c284d8af7ad3082f209582d\"\n"
    "Host: en.wikipedia.org\n"
    "X-Forwarded-Host: en.wikipedia.org:8080\n"
,
    "HTTP/4.6 894 o4rjEil qL1gexedFU\tmKuGl8J\n"
    "Upgrade: HTTPS/1.3, IRC/6.9, RTA/x11, websocket\n"
    "Date: Tue, 15 Nov 1994 08:12:31 GMT\n"
    "X-XSS-Protection: 1; mode=block\n"
    "Accept-Charset: utf-8\n"
    "Allow: GET, HEAD\n"
    "Age: 12345\n"
,
    NULL
};

#endif // _RE2C_BENCHMRKS_COMMON_STRINGS_HTTP_