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

Method get_content

test/modules/md/md_env.py:440–445  ·  view source on GitHub ↗
(self, domain, path, use_https=True)

Source from the content-addressed store, hash-verified

438 return r
439
440 def get_content(self, domain, path, use_https=True):
441 schema = "https" if use_https else "http"
442 port = self.https_port if use_https else self.http_port
443 r = self.curl_get(f"{schema}://{domain}:{port}{path}")
444 assert r.exit_code == 0
445 return r.stdout
446
447 def get_json_content(self, domain, path, use_https=True, insecure=False):
448 schema = "https" if use_https else "http"

Callers 4

get_server_statusMethod · 0.95
test_md_702_003Method · 0.80
test_md_502_109Method · 0.80
test_md_602_002Method · 0.80

Calls 1

curl_getMethod · 0.80

Tested by 3

test_md_702_003Method · 0.64
test_md_502_109Method · 0.64
test_md_602_002Method · 0.64