Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/uvicorn
/ data_received
Method
data_received
uvicorn/protocols/http/h11_impl.py:171–175 · uvicorn/protocols/http/h11_impl.py::H11Protocol.data_received
(self, data: bytes)
Source
from the content-addressed store, hash-verified
169
return
False
170
171
def
data_received(self, data: bytes) -> None:
172
self._unset_keepalive_if_required()
173
174
self.conn.receive_data(data)
175
self.handle_events()
176
177
def
handle_events(self) -> None:
178
while
True:
Callers
15
handle_websocket_upgrade
Method · 0.45
test_get_request
Function · 0.45
test_header_value_allowed_characters
Function · 0.45
test_invalid_header_name
Function · 0.45
test_request_logging
Function · 0.45
test_head_request
Function · 0.45
test_post_request
Function · 0.45
test_keepalive
Function · 0.45
test_keepalive_timeout
Function · 0.45
test_keepalive_timeout_with_pipelined_requests
Function · 0.45
test_close
Function · 0.45
test_chunked_encoding
Function · 0.45
Calls
2
_unset_keepalive_if_required
Method · 0.95
handle_events
Method · 0.95
Tested by
15
test_get_request
Function · 0.36
test_header_value_allowed_characters
Function · 0.36
test_invalid_header_name
Function · 0.36
test_request_logging
Function · 0.36
test_head_request
Function · 0.36
test_post_request
Function · 0.36
test_keepalive
Function · 0.36
test_keepalive_timeout
Function · 0.36
test_keepalive_timeout_with_pipelined_requests
Function · 0.36
test_close
Function · 0.36
test_chunked_encoding
Function · 0.36
test_chunked_encoding_empty_body
Function · 0.36