Skip to content
Myr

Fix typo in async.md (#747)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Mason Hall · committed by Florimond Manca · parent 918c55d · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/async.md+1 added-1 removed
80 unmodified lines
81* `Response.aclose()` - For closing the response. You don't usually need this, since `.stream` block close the response automatically on exit.8283### Streaming requests8485When sending a streaming request body with an `AsyncClient` instance, you should use an async butes generator instead of a bytes generator:85When sending a streaming request body with an `AsyncClient` instance, you should use an async bytes generator instead of a bytes generator:8687```python88async def upload_bytes():89 ... # yield byte content
121 unmodified lines