diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-04-24 15:31:14 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-04-24 15:31:14 +1200 |
commit | 192fd1db7f233b71398c5255cbdebe1928768b55 (patch) | |
tree | 3a134ada227f00777cb9b05b5bf1cc102a3fc729 /test/test_websockets.py | |
parent | def93ea8cae69676a91b01e149e8a406fa03eacd (diff) | |
download | mitmproxy-192fd1db7f233b71398c5255cbdebe1928768b55.tar.gz mitmproxy-192fd1db7f233b71398c5255cbdebe1928768b55.tar.bz2 mitmproxy-192fd1db7f233b71398c5255cbdebe1928768b55.zip |
websockets: include all header values in frame roundtrip
Diffstat (limited to 'test/test_websockets.py')
-rw-r--r-- | test/test_websockets.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_websockets.py b/test/test_websockets.py index 215b3958..8ae18edd 100644 --- a/test/test_websockets.py +++ b/test/test_websockets.py @@ -202,6 +202,10 @@ class TestFrame: f2 = websockets.Frame.from_file(cStringIO.StringIO(bytes)) assert f == f2 round("test") + round("test", fin=1) + round("test", rsv1=1) + round("test", opcode=websockets.OPCODE.PING) + round("test", masking_key="test") def test_human_readable(self): f = websockets.Frame() |