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

Method __init__

test/modules/http2/env.py:99–114  ·  view source on GitHub ↗
(self, env: HttpdTestEnv, extras: Dict[str, Any] = None)

Source from the content-addressed store, hash-verified

97class 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):

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 1

merge_extrasMethod · 0.80

Tested by

no test coverage detected