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/pathoc.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/pathoc.py')
-rw-r--r-- | libpathod/pathoc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpathod/pathoc.py b/libpathod/pathoc.py index 2574da6c..3d61c9e7 100644 --- a/libpathod/pathoc.py +++ b/libpathod/pathoc.py @@ -212,7 +212,8 @@ class Pathoc(tcp.TCPClient): self.settings = language.Settings( staticdir = os.getcwd(), unconstrained_file_access = True, - request_host = self.address.host + request_host = self.address.host, + is_client = True ) self.ssl, self.sni = ssl, sni self.clientcert = clientcert |