MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / _require_https

Function _require_https

keepercommander/updater.py:180–182  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

178
179
180def _require_https(url):
181 if not url.lower().startswith('https://'):
182 raise UpdateError('refusing to use a non-HTTPS URL: {0}'.format(url))
183
184
185def fetch_meta(meta_url, proxies=None, timeout=10): # type: (str, dict, int) -> dict

Callers 2

fetch_metaFunction · 0.85
download_and_verifyFunction · 0.85

Calls 2

UpdateErrorClass · 0.85
formatMethod · 0.80

Tested by

no test coverage detected