Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/benoitc/gunicorn
/ unread
Method
unread
gunicorn/http/unreader.py:51–55 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
49
return
data[:size]
50
51
def
unread(self, data):
52
rest = self.buf.getvalue()
53
self.buf = io.BytesIO()
54
self.buf.write(data)
55
self.buf.write(rest)
56
57
58
class
SocketUnreader(Unreader):
Callers
7
test_unreader_unread
Function · 0.95
parse_trailers
Method · 0.45
read
Method · 0.45
__init__
Method · 0.45
_parse_python
Method · 0.45
__init__
Method · 0.45
test_unreader_unread_should_place_data_at_the_beginning_of_the_buffer
Function · 0.45
Calls
1
write
Method · 0.45
Tested by
2
test_unreader_unread
Function · 0.76
test_unreader_unread_should_place_data_at_the_beginning_of_the_buffer
Function · 0.36