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

Method http_open

Lib/test/test_urllib2.py:495–496  ·  view source on GitHub ↗
(self, req)

Source from the content-addressed store, hash-verified

493 self.httpconn = MockHTTPClass()
494
495 def http_open(self, req):
496 return self.do_open(self.httpconn, req)
497
498
499class MockHTTPHandlerRedirect(urllib.request.BaseHandler):

Callers

nothing calls this directly

Calls 1

do_openMethod · 0.80

Tested by

no test coverage detected