diff options
author | Ujjwal Verma <ujjwalverma1111@gmail.com> | 2017-07-04 10:50:34 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-07-04 10:53:23 +0200 |
commit | 7e04ac0578b60821711249993659f3a1a7b48584 (patch) | |
tree | 1b4a16d2fa3fd8a12f7c8d4aa1ec8785daf5f00c /test | |
parent | 6367dcab8eb83ca073eaf0a38c75f751eb2dc246 (diff) | |
download | mitmproxy-7e04ac0578b60821711249993659f3a1a7b48584.tar.gz mitmproxy-7e04ac0578b60821711249993659f3a1a7b48584.tar.bz2 mitmproxy-7e04ac0578b60821711249993659f3a1a7b48584.zip |
add websocket streaming option
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/addons/test_streambodies.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/mitmproxy/addons/test_streambodies.py b/test/mitmproxy/addons/test_streambodies.py index 54799949..426ec9ae 100644 --- a/test/mitmproxy/addons/test_streambodies.py +++ b/test/mitmproxy/addons/test_streambodies.py @@ -30,6 +30,7 @@ def test_simple(): f.response.headers["content-length"] = "invalid" tctx.cycle(sa, f) + tctx.configure(sa, stream_websockets = True) f = tflow.twebsocketflow() assert not f.stream sa.websocket_start(f) |