diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-07-08 09:35:20 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-07-22 15:30:33 +0200 |
commit | c1e84cb32296d9e448df1e9cabcc5312a85fb5fe (patch) | |
tree | 1641145ed2288c1aab04c984f4f949491e6c8f38 /libpathod/pathod.py | |
parent | 78ae3e4a0009d7bb2f2f7f53df2d622fc12d05dc (diff) | |
download | mitmproxy-c1e84cb32296d9e448df1e9cabcc5312a85fb5fe.tar.gz mitmproxy-c1e84cb32296d9e448df1e9cabcc5312a85fb5fe.tar.bz2 mitmproxy-c1e84cb32296d9e448df1e9cabcc5312a85fb5fe.zip |
use websockets protocol
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r-- | libpathod/pathod.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py index 148fa7b2..daad64be 100644 --- a/libpathod/pathod.py +++ b/libpathod/pathod.py @@ -280,7 +280,7 @@ class PathodHandler(tcp.BaseHandler): retlog["cipher"] = self.get_current_cipher() m = utils.MemBool() - websocket_key = websockets.check_client_handshake(headers) + websocket_key = websockets.WebsocketsProtocol.check_client_handshake(headers) self.settings.websocket_key = websocket_key # If this is a websocket initiation, we respond with a proper |