Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/httpx
/ async_streaming_body
Function
async_streaming_body
tests/models/test_responses.py:22–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
21
22
async
def
async_streaming_body() -> typing.AsyncIterator[bytes]:
23
yield
b
"Hello, "
24
yield
b
"world!"
25
26
27
def
autodetect(content):
Callers
11
test_iter_raw_on_async
Function · 0.85
test_close_on_async
Function · 0.85
test_aiter_raw
Function · 0.85
test_aiter_raw_with_chunksize
Function · 0.85
test_aiter_raw_increments_updates_counter
Function · 0.85
test_aiter_bytes_with_chunk_size
Function · 0.85
test_async_streaming_response
Function · 0.85
test_cannot_aread_after_stream_consumed
Function · 0.85
test_cannot_aread_after_response_closed
Function · 0.85
test_elapsed_not_available_until_closed
Function · 0.85
test_response_async_streaming_picklable
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected