aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-12-29 14:56:47 +0100
committerMaximilian Hils <git@maximilianhils.com>2014-12-29 14:56:47 +0100
commit333688b06ee029e809c2a7d10690c785e805f432 (patch)
tree20b124f2c2e33530f575fd5666394d37cbf55648 /test
parent51671b22a079b49a7e208b6e67dbfc9c8d7df129 (diff)
parent55970bf0cc493b57bb08d2b10837aedc11f5ac18 (diff)
downloadmitmproxy-333688b06ee029e809c2a7d10690c785e805f432.tar.gz
mitmproxy-333688b06ee029e809c2a7d10690c785e805f432.tar.bz2
mitmproxy-333688b06ee029e809c2a7d10690c785e805f432.zip
Merge branch 'master' of github.com:mitmproxy/mitmproxy
Diffstat (limited to 'test')
-rw-r--r--test/tservers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tservers.py b/test/tservers.py
index 12154ba7..37929d1a 100644
--- a/test/tservers.py
+++ b/test/tservers.py
@@ -158,10 +158,10 @@ class HTTPProxTest(ProxTestBase):
if self.ssl:
p = libpathod.pathoc.Pathoc(("127.0.0.1", self.proxy.port), True)
p.connect((APP_HOST, APP_PORT))
- return p.request("get:'/%s'"%page)
+ return p.request("get:'%s'"%page)
else:
p = self.pathoc()
- return p.request("get:'http://%s/%s'"%(APP_HOST, page))
+ return p.request("get:'http://%s%s'"%(APP_HOST, page))
class TResolver: