ws-server: restrict returned Sec-Websocket-Protocol to the chosen name only
[platform/upstream/libwebsockets.git] / lib / lextable-strings.h
1 /* set of parsable strings -- ALL LOWER CASE */
2
3 static 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:",
82
83         "patch",
84         "put",
85         "delete",
86
87         "uri-args", /* fake header used for uri-only storage */
88
89         "proxy ",
90         "x-real-ip:",
91
92         "", /* not matchable */
93
94 };