diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-05-16 11:31:53 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-05-16 11:31:53 +1200 |
commit | 2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9 (patch) | |
tree | db69f9cff1ff0611b507f55c133994076166af6e /libpathod/language/base.py | |
parent | d66dedc6e7bdc201cd4d3fa5f04c9636a8ad57f4 (diff) | |
download | mitmproxy-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.py | 2 |
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 |