(self, *args, **kwargs)
| 419 | Python 2.4 - Python 3 |
| 420 | """ |
| 421 | def __init__(self, *args, **kwargs): |
| 422 | source_address = kwargs.pop('source_address', None) |
| 423 | timeout = kwargs.pop('timeout', 10) |
| 424 | |
| 425 | self._tunnel_host = None |
| 426 | |
| 427 | HTTPConnection.__init__(self, *args, **kwargs) |
| 428 | |
| 429 | self.source_address = source_address |
| 430 | self.timeout = timeout |
| 431 | |
| 432 | def connect(self): |
| 433 | """Connect to the host and port specified in __init__.""" |