MCPcopy Create free account
hub / github.com/apache/httpd / test_proxy_02_001

Method test_proxy_02_001

test/modules/proxy/test_02_unix.py:97–102  ·  view source on GitHub ↗
(self, env, via, seen)

Source from the content-addressed store, hash-verified

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"],

Callers

nothing calls this directly

Calls 1

curl_getMethod · 0.80

Tested by

no test coverage detected