MCPcopy
hub / github.com/urllib3/urllib3 / _validate_conn

Method _validate_conn

src/urllib3/connectionpool.py:337–340  ·  view source on GitHub ↗

Called right before a request is made, after the socket is created.

(self, conn: BaseHTTPConnection)

Source from the content-addressed store, hash-verified

335 conn.close()
336
337 def _validate_conn(self, conn: BaseHTTPConnection) -> None:
338 """
339 Called right before a request is made, after the socket is created.
340 """
341
342 def _prepare_proxy(self, conn: BaseHTTPConnection) -> None:
343 # Nothing to do for HTTP connections.

Callers 2

_make_requestMethod · 0.95
_validate_connMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected