MCPcopy Index your code
hub / github.com/boy-hack/hack-requests / __init__

Method __init__

HackRequests/HackRequests.py:111–117  ·  view source on GitHub ↗
(self, conpool=None)

Source from the content-addressed store, hash-verified

109 '''
110
111 def __init__(self, conpool=None):
112 self.lock = threading.Lock()
113
114 if conpool is None:
115 self.httpcon = httpcon(timeout=17)
116 else:
117 self.httpcon = conpool
118
119 def _get_urlinfo(self, url, realhost: str):
120 p = parse.urlparse(url)

Callers

nothing calls this directly

Calls 1

httpconClass · 0.85

Tested by

no test coverage detected