about summary refs log tree commit diff
path: root/src/engine/external/libwebsockets/lextable-strings.h
diff options
context:
space:
mode:
authoreeeee <eeeee@qwe123.info>2015-02-07 14:15:19 -0800
committerdef <dennis@felsin9.de>2015-04-19 16:05:13 +0200
commit424ce4987ced7deda3e355b7b6373680bf506646 (patch)
tree239537b1938ac18c6542a05088bc26c6a2860408 /src/engine/external/libwebsockets/lextable-strings.h
parent9bbe115c522835c34c29196f2595c29c6bf00701 (diff)
downloadzcatch-424ce4987ced7deda3e355b7b6373680bf506646.tar.gz
zcatch-424ce4987ced7deda3e355b7b6373680bf506646.zip
added libwebsockets source code
Diffstat (limited to 'src/engine/external/libwebsockets/lextable-strings.h')
-rw-r--r--src/engine/external/libwebsockets/lextable-strings.h86
1 files changed, 86 insertions, 0 deletions
diff --git a/src/engine/external/libwebsockets/lextable-strings.h b/src/engine/external/libwebsockets/lextable-strings.h
new file mode 100644
index 00000000..c0f1f2ee
--- /dev/null
+++ b/src/engine/external/libwebsockets/lextable-strings.h
@@ -0,0 +1,86 @@
+/* set of parsable strings -- ALL LOWER CASE */
+
+static const char *set[] = {
+	"get ",
+	"post ",
+	"options ",
+	"host:",
+	"connection:",
+	"upgrade:",
+	"origin:",
+	"sec-websocket-draft:",
+	"\x0d\x0a",
+
+	"sec-websocket-extensions:",
+	"sec-websocket-key1:",
+	"sec-websocket-key2:",
+	"sec-websocket-protocol:",
+
+	"sec-websocket-accept:",
+	"sec-websocket-nonce:",
+	"http/1.1 ",
+	"http2-settings:",
+
+	"accept:",
+	"access-control-request-headers:",
+	"if-modified-since:",
+	"if-none-match:",
+	"accept-encoding:",
+	"accept-language:",
+	"pragma:",
+	"cache-control:",
+	"authorization:",
+	"cookie:",
+	"content-length:",
+	"content-type:",
+	"date:",
+	"range:",
+	"referer:",
+	"sec-websocket-key:",
+	"sec-websocket-version:",
+	"sec-websocket-origin:",
+	
+	":authority:",
+	":method:",
+	":path:",
+	":scheme:",
+	":status:",
+	
+	"accept-charset:",
+	"accept-ranges:",
+	"access-control-allow-origin:",
+	"age:",
+	"allow:",
+	"content-disposition:",
+	"content-encoding:",
+	"content-language:",
+	"content-location:",
+	"content-range:",
+	"etag:",
+	"expect:",
+	"expires:",
+	"from:",
+	"if-match:",
+	"if-range:",
+	"if-unmodified-since:",
+	"last-modified:",
+	"link:",
+	"location:",
+	"max-forwards:",
+	"proxy-authenticate:",
+	"proxy-authorization:",
+	"refresh:",
+	"retry-after:",
+	"server:",
+	"set-cookie:",
+	"strict-transport-security:",
+	"transfer-encoding:",
+	"user-agent:",
+	"vary:",
+	"via:",
+	"www-authenticate:",
+	"proxy ",
+
+	"", /* not matchable */
+
+};