uproot.source.http.make_connection
Defined in uproot.source.http on line 30.
- uproot.source.http.make_connection(parsed_url, timeout)
- Parameters:
parsed_url (
urllib.parse.ParseResult) – The URL to connect to, which may be HTTP or HTTPS.timeout (None or float) – An optional timeout in seconds.
Creates a
http.client.HTTPConnectionor ahttp.client.HTTPSConnection, depending on the URL scheme.