

def __init__(self, host, port=None, strict=_strict_sentinel, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, source_address=None):
    if (strict is not _strict_sentinel):
        warnings.warn("the 'strict' argument isn't supported anymore; http.client now always assumes HTTP/1.x compliant servers.", DeprecationWarning, 2)
    self.timeout = timeout
    self.source_address = source_address
    self.sock = None
    self._buffer = []
    self.__response = None
    self.__state = _CS_IDLE
    self._method = None
    self._tunnel_host = None
    self._tunnel_port = None
    self._tunnel_headers = {
        
    }
    self._set_hostport(host, port)

dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/http/client.py HTTPConnection.__init__/original