diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-04-23 17:11:20 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-04-23 17:11:20 +1200 |
commit | dacb350040806ad0855cd482d53247be81474f3a (patch) | |
tree | dc6739d5d1ba063842a7a2c6e31816a4f9a06238 /test/test_pathod.py | |
parent | 2306a7ab6d1ed2175dcae4feab36f590b849af7a (diff) | |
download | mitmproxy-dacb350040806ad0855cd482d53247be81474f3a.tar.gz mitmproxy-dacb350040806ad0855cd482d53247be81474f3a.tar.bz2 mitmproxy-dacb350040806ad0855cd482d53247be81474f3a.zip |
pathod: register websocket key from client handshake
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r-- | test/test_pathod.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py index 00634e27..266f41ab 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -184,6 +184,9 @@ class CommonTests(tutils.DaemonTests): r = self.pathoc(r"get:'http://foo.com/p/202':da") assert r.status_code == 202 + def test_websocket(self): + r = self.pathoc("ws:/p/") + class TestDaemon(CommonTests): ssl = False |