diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2014-12-29 14:56:47 +0100 |
|---|---|---|
| committer | Maximilian Hils <git@maximilianhils.com> | 2014-12-29 14:56:47 +0100 |
| commit | 333688b06ee029e809c2a7d10690c785e805f432 (patch) | |
| tree | 20b124f2c2e33530f575fd5666394d37cbf55648 /test | |
| parent | 51671b22a079b49a7e208b6e67dbfc9c8d7df129 (diff) | |
| parent | 55970bf0cc493b57bb08d2b10837aedc11f5ac18 (diff) | |
| download | mitmproxy-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.py | 4 |
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: |
