MCPcopy
hub / github.com/urllib3/urllib3 / readline

Method readline

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

Source from the content-addressed store, hash-verified

2071 return chunk_part
2072
2073 def readline(self, amt: int = -1) -> bytes:
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)

Callers 3

_tunnelMethod · 0.80
_update_chunk_lengthMethod · 0.80
read_chunkedMethod · 0.80

Calls 1

pop_current_chunkMethod · 0.95

Tested by

no test coverage detected