diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-04-23 17:35:22 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-04-23 17:35:22 +1200 |
commit | b0ab5297d161d61975e67b04ba58a71f97c5cba8 (patch) | |
tree | e46697bb6acc212cfef0fe265bdfb8ab9fb0e9c6 /test/test_pathod.py | |
parent | dacb350040806ad0855cd482d53247be81474f3a (diff) | |
download | mitmproxy-b0ab5297d161d61975e67b04ba58a71f97c5cba8.tar.gz mitmproxy-b0ab5297d161d61975e67b04ba58a71f97c5cba8.tar.bz2 mitmproxy-b0ab5297d161d61975e67b04ba58a71f97c5cba8.zip |
Change the semantics of the craft anchor point specification
The anchor point is now defined as /p (rather than /p/), with the specification
for a request just to /p or /p/ being empty.
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r-- | test/test_pathod.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py index 266f41ab..18b546e4 100644 --- a/test/test_pathod.py +++ b/test/test_pathod.py @@ -186,6 +186,7 @@ class CommonTests(tutils.DaemonTests): def test_websocket(self): r = self.pathoc("ws:/p/") + assert r.status_code == 101 class TestDaemon(CommonTests): |