aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/language/base.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-16 11:31:53 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-16 11:31:53 +1200
commit2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9 (patch)
treedb69f9cff1ff0611b507f55c133994076166af6e /libpathod/language/base.py
parentd66dedc6e7bdc201cd4d3fa5f04c9636a8ad57f4 (diff)
downloadmitmproxy-2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9.tar.gz
mitmproxy-2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9.tar.bz2
mitmproxy-2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9.zip
websockets: client and server flavors, key and mask specification
Diffstat (limited to 'libpathod/language/base.py')
-rw-r--r--libpathod/language/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpathod/language/base.py b/libpathod/language/base.py
index 41ad639a..3773fde1 100644
--- a/libpathod/language/base.py
+++ b/libpathod/language/base.py
@@ -10,6 +10,7 @@ from . import generators, exceptions
class Settings:
def __init__(
self,
+ is_client = False,
staticdir = None,
unconstrained_file_access = False,
request_host = None,
@@ -19,6 +20,7 @@ class Settings:
self.unconstrained_file_access = unconstrained_file_access
self.request_host = request_host
self.websocket_key = websocket_key
+ self.is_client = is_client