MCPcopy
hub / github.com/urllib3/urllib3 / read

Method read

test/test_response.py:2076–2077  ·  view source on GitHub ↗
(self, amt: int = -1)

Source from the content-addressed store, hash-verified

2074 return self.pop_current_chunk(amt, till_crlf=amt < 0)
2075
2076 def read(self, amt: int = -1) -> bytes:
2077 return self.pop_current_chunk(amt)
2078
2079 def read1(self, amt: int = -1) -> bytes:
2080 return self.pop_current_chunk(amt)

Calls 1

pop_current_chunkMethod · 0.95

Tested by

no test coverage detected