MCPcopy Create free account
hub / github.com/boy-hack/hack-requests / get_con

Method get_con

HackRequests/HackRequests.py:71–74  ·  view source on GitHub ↗
(self, url, proxy=None)

Source from the content-addressed store, hash-verified

69 '''
70
71 def get_con(self, url, proxy=None):
72 scheme, host, port, path = url
73 conn = self._make_con(scheme, host, port, proxy)
74 return conn
75
76 def _make_con(self, scheme, host, port, proxy=None):
77 if "https" != scheme:

Callers 2

httprawMethod · 0.80
httpMethod · 0.80

Calls 1

_make_conMethod · 0.95

Tested by

no test coverage detected