(self, env: HttpdTestEnv, extras: Dict[str, Any] = None)
| 97 | class H2Conf(HttpdConf): |
| 98 | |
| 99 | def __init__(self, env: HttpdTestEnv, extras: Dict[str, Any] = None): |
| 100 | super().__init__(env=env, extras=HttpdConf.merge_extras(extras, { |
| 101 | f"cgi.{env.http_tld}": [ |
| 102 | "SSLOptions +StdEnvVars", |
| 103 | "AddHandler cgi-script .py", |
| 104 | "<Location \"/h2test/echo\">", |
| 105 | " SetHandler h2test-echo", |
| 106 | "</Location>", |
| 107 | "<Location \"/h2test/delay\">", |
| 108 | " SetHandler h2test-delay", |
| 109 | "</Location>", |
| 110 | "<Location \"/h2test/error\">", |
| 111 | " SetHandler h2test-error", |
| 112 | "</Location>", |
| 113 | ] |
| 114 | })) |
| 115 | |
| 116 | def start_vhost(self, domains, port=None, doc_root="htdocs", with_ssl=None, |
| 117 | ssl_module=None, with_certificates=None): |
no test coverage detected