MCPcopy
hub / github.com/benoitc/gunicorn / get_data

Method get_data

gunicorn/http/body.py:111–115  ·  view source on GitHub ↗
(self, unreader, buf)

Source from the content-addressed store, hash-verified

109 return (chunk_size, rest_chunk)
110
111 def get_data(self, unreader, buf):
112 data = unreader.read()
113 if not data:
114 raise NoMoreData()
115 buf.write(data)
116
117
118class LengthReader:

Callers 2

parse_trailersMethod · 0.95
parse_chunk_sizeMethod · 0.95

Calls 3

NoMoreDataClass · 0.90
readMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected