MCPcopy Index your code
hub / github.com/python/cpython / UnsafeHTTPConnection

Class UnsafeHTTPConnection

Lib/test/test_httplib.py:1585–1587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1583 behavior in putrequest (bpo-38216).
1584 """
1585 class UnsafeHTTPConnection(client.HTTPConnection):
1586 def _validate_path(self, url):
1587 pass
1588
1589 conn = UnsafeHTTPConnection('example.com')
1590 conn.sock = FakeSocket('')

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…