MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / set_tunnel

Method set_tunnel

Lib/httplib.py:708–719  ·  view source on GitHub ↗

Sets up the host and the port for the HTTP CONNECT Tunnelling. The headers argument should be a mapping of extra HTTP headers to send with the CONNECT request.

(self, host, port=None, headers=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

do_openMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected