diff options
author | Shadab Zafar <dufferzafar0@gmail.com> | 2016-06-08 16:37:56 +0530 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-06-15 09:49:38 +0200 |
commit | d9b940c21e7729da1b6a63d8e82cd3ad4a82f775 (patch) | |
tree | bc2faa31a34bf7496174cabac402ed1c03c9d314 /pathod/protocols/websockets.py | |
parent | 0f1aa2b78e1c22da16a482aedae4ed9800830007 (diff) | |
download | mitmproxy-d9b940c21e7729da1b6a63d8e82cd3ad4a82f775.tar.gz mitmproxy-d9b940c21e7729da1b6a63d8e82cd3ad4a82f775.tar.bz2 mitmproxy-d9b940c21e7729da1b6a63d8e82cd3ad4a82f775.zip |
Py3: websockets
Diffstat (limited to 'pathod/protocols/websockets.py')
-rw-r--r-- | pathod/protocols/websockets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/protocols/websockets.py b/pathod/protocols/websockets.py index 2b60e618..a34e75e8 100644 --- a/pathod/protocols/websockets.py +++ b/pathod/protocols/websockets.py @@ -37,7 +37,7 @@ class WebsocketsProtocol: if frm.payload.startswith(ld): nest = frm.payload[len(ld):] try: - wf_gen = language.parse_websocket_frame(nest) + wf_gen = language.parse_websocket_frame(nest.decode()) except language.exceptions.ParseException as v: logger.write( "Parse error in reflected frame specifcation:" |