Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/httpx
/ streaming_body
Function
streaming_body
tests/models/test_responses.py:17–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
15
16
17
def
streaming_body() -> typing.Iterator[bytes]:
18
yield
b
"Hello, "
19
yield
b
"world!"
20
21
22
async
def
async_streaming_body() -> typing.AsyncIterator[bytes]:
Callers
9
test_iter_raw
Function · 0.70
test_iter_raw_with_chunksize
Function · 0.70
test_iter_raw_increments_updates_counter
Function · 0.70
test_aiter_raw_on_sync
Function · 0.70
test_aclose_on_sync
Function · 0.70
test_iter_bytes_with_chunk_size
Function · 0.70
test_sync_streaming_response
Function · 0.70
test_cannot_read_after_stream_consumed
Function · 0.70
test_cannot_read_after_response_closed
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected