MCPcopy
hub / github.com/urllib3/urllib3 / tell

Method tell

src/urllib3/response.py:828–834  ·  view source on GitHub ↗

Obtain the number of bytes pulled over the wire so far. May differ from the amount of content returned by :meth:`HTTPResponse.read` if bytes are encoded on the wire (e.g, compressed).

(self)

Source from the content-addressed store, hash-verified

826 return is_fp_closed(self._fp)
827
828 def tell(self) -> int:
829 """
830 Obtain the number of bytes pulled over the wire so far. May differ from
831 the amount of content returned by :meth:`HTTPResponse.read`
832 if bytes are encoded on the wire (e.g, compressed).
833 """
834 return self._fp_bytes_read
835
836 def _init_length(self, request_method: str | None) -> int | None:
837 """

Callers 5

test_streaming_tellMethod · 0.95
__init__Method · 0.45
set_file_positionFunction · 0.45

Calls

no outgoing calls