MCPcopy
hub / github.com/urllib3/urllib3 / release_conn

Method release_conn

src/urllib3/response.py:787–792  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

785 self._body = self.read(decode_content=decode_content)
786
787 def release_conn(self) -> None:
788 if not self._pool or not self._connection:
789 return None
790
791 self._pool._put_conn(self._connection)
792 self._connection = None
793
794 def drain_conn(self) -> None:
795 """

Callers 7

_error_catcherMethod · 0.95
_testMethod · 0.45
pyodide_testFunction · 0.45
test_releases_connFunction · 0.45

Calls 1

_put_connMethod · 0.80

Tested by 6

_testMethod · 0.36
pyodide_testFunction · 0.36
test_releases_connFunction · 0.36