(self, conpool=None)
| 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) |