(self, host, port=None,
*, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
source_address=None, context=None, blocksize=8192,
max_response_headers=None)
| 1483 | default_port = HTTPS_PORT |
| 1484 | |
| 1485 | def __init__(self, host, port=None, |
| 1486 | *, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, |
| 1487 | source_address=None, context=None, blocksize=8192, |
| 1488 | max_response_headers=None): |
| 1489 | super(HTTPSConnection, self).__init__(host, port, timeout, |
| 1490 | source_address, |
| 1491 | blocksize=blocksize, |
| 1492 | max_response_headers=max_response_headers) |
| 1493 | if context is None: |
| 1494 | context = _create_https_context(self._http_vsn) |
| 1495 | self._context = context |
| 1496 | |
| 1497 | def connect(self): |
| 1498 | "Connect to a host on a given (SSL) port." |
nothing calls this directly
no test coverage detected