MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MD / http_open

Method http_open

lib/speed.py:545–553  ·  view source on GitHub ↗
(self, req)

Source from the content-addressed store, hash-verified

543 self.timeout = timeout
544
545 def http_open(self, req):
546 return self.do_open(
547 _build_connection(
548 SpeedtestHTTPConnection,
549 self.source_address,
550 self.timeout
551 ),
552 req
553 )
554
555 http_request = AbstractHTTPHandler.do_request_
556

Callers

nothing calls this directly

Calls 1

_build_connectionFunction · 0.85

Tested by

no test coverage detected