aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/websocket.py
diff options
context:
space:
mode:
authorUjjwal Verma <ujjwalverma1111@gmail.com>2017-06-26 01:55:04 +0530
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2017-07-04 10:52:50 +0200
commit389d37ebff894d27b05ed4ad0e738885974f43a9 (patch)
treeef9a4756174eae81bfb7c5e8760ecd44cc9d865d /mitmproxy/websocket.py
parentd4f35d7a4a601c11639d2478cae1b00d6c003c98 (diff)
downloadmitmproxy-389d37ebff894d27b05ed4ad0e738885974f43a9.tar.gz
mitmproxy-389d37ebff894d27b05ed4ad0e738885974f43a9.tar.bz2
mitmproxy-389d37ebff894d27b05ed4ad0e738885974f43a9.zip
websocket streaming
Diffstat (limited to 'mitmproxy/websocket.py')
-rw-r--r--mitmproxy/websocket.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mitmproxy/websocket.py b/mitmproxy/websocket.py
index 30967a91..ded09f65 100644
--- a/mitmproxy/websocket.py
+++ b/mitmproxy/websocket.py
@@ -45,6 +45,7 @@ class WebSocketFlow(flow.Flow):
self.close_code = '(status code missing)'
self.close_message = '(message missing)'
self.close_reason = 'unknown status code'
+ self.stream = False
if handshake_flow:
self.client_key = websockets.get_client_key(handshake_flow.request.headers)