blob: 277c8a5f070852afc1bbbaf3c55bbd8985b14e3a [file] [log] [blame]
Andy Green917f43a2014-10-12 14:31:47 +08001/* set of parsable strings -- ALL LOWER CASE */
2
3static const char *set[] = {
4 "get ",
5 "post ",
6 "options ",
7 "host:",
8 "connection:",
9 "upgrade:",
10 "origin:",
11 "sec-websocket-draft:",
12 "\x0d\x0a",
13
14 "sec-websocket-extensions:",
15 "sec-websocket-key1:",
16 "sec-websocket-key2:",
17 "sec-websocket-protocol:",
18
19 "sec-websocket-accept:",
20 "sec-websocket-nonce:",
21 "http/1.1 ",
22 "http2-settings:",
23
24 "accept:",
25 "access-control-request-headers:",
26 "if-modified-since:",
27 "if-none-match:",
28 "accept-encoding:",
29 "accept-language:",
30 "pragma:",
31 "cache-control:",
32 "authorization:",
33 "cookie:",
34 "content-length:",
35 "content-type:",
36 "date:",
37 "range:",
38 "referer:",
39 "sec-websocket-key:",
40 "sec-websocket-version:",
41 "sec-websocket-origin:",
42
43 ":authority:",
44 ":method:",
45 ":path:",
46 ":scheme:",
47 ":status:",
48
49 "accept-charset:",
50 "accept-ranges:",
51 "access-control-allow-origin:",
52 "age:",
53 "allow:",
54 "content-disposition:",
55 "content-encoding:",
56 "content-language:",
57 "content-location:",
58 "content-range:",
59 "etag:",
60 "expect:",
61 "expires:",
62 "from:",
63 "if-match:",
64 "if-range:",
65 "if-unmodified-since:",
66 "last-modified:",
67 "link:",
68 "location:",
69 "max-forwards:",
70 "proxy-authenticate:",
71 "proxy-authorization:",
72 "refresh:",
73 "retry-after:",
74 "server:",
75 "set-cookie:",
76 "strict-transport-security:",
77 "transfer-encoding:",
78 "user-agent:",
79 "vary:",
80 "via:",
81 "www-authenticate:",
=?UTF-8?q?Jos=C3=A9=20Luis=20Mill=C3=A1n?=fdde0f02014-12-14 12:13:43 +080082 "proxy ",
Quinlan Pfiffer49f72aa2015-01-10 19:01:52 -080083
84 "patch",
85 "put",
86 "delete",
Andy Green917f43a2014-10-12 14:31:47 +080087
88 "", /* not matchable */
89
90};