MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / get

Function get

scripts/update_cddl.py:181–185  ·  view source on GitHub ↗
(url, headers=None)

Source from the content-addressed store, hash-verified

179
180
181def get(url, headers=None):
182 r = http.request("GET", url, headers=headers)
183 if r.status != 200:
184 raise RuntimeError(f"Failed to download {url}: HTTP {r.status}")
185 return r.data
186
187
188def resolve_commit_for(repo, branch):

Callers 6

resolve_commit_forFunction · 0.70
resolve_path_commit_forFunction · 0.70
resolve_specsFunction · 0.70
pin_specsFunction · 0.70
pin_vendorsFunction · 0.70
mainFunction · 0.70

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected