diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_proxy.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_proxy.py b/test/test_proxy.py index d4d275b5..10587168 100644 --- a/test/test_proxy.py +++ b/test/test_proxy.py @@ -21,3 +21,11 @@ def test_app_registry(): r.port = 81 assert not ar.get(r) + + + r = tutils.treq() + r.host = "domain2" + r.port = 80 + assert not ar.get(r) + r.headers["host"] = ["domain"] + assert ar.get(r) |