(self, env, via, seen)
| 95 | ["mixed", "faked"], |
| 96 | ]) |
| 97 | def test_proxy_02_001(self, env, via, seen): |
| 98 | # make requests to a reverse proxy https: vhost to the http: vhost |
| 99 | # check that we see the document we expect there (host matching worked) |
| 100 | r = env.curl_get(f"https://{via}.{env.http_tld}:{env.https_port}/alive.json", 5) |
| 101 | assert r.response["status"] == 200 |
| 102 | assert r.json['host'] == seen |
| 103 | |
| 104 | @pytest.mark.parametrize(["via", "seen"], [ |
| 105 | ["forward", "generic"], |