Skip to content
Myr

Add missing timeout=... to top-level httpx.stream() function. (#1613)

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

authored by Tom Christie · committed by GitHub · parent 4fbf275 · Browse files · 1 file+6 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+6 added−1 removed

  • other:+6 added−1 removed

1 file+6 added−1 removed

modified:httpx/_api.py+6 added-1 removed
140 unmodified lines
141142 [0]: /quickstart#streaming-responses143 """144 with Client(145 cookies=cookies, proxies=proxies, cert=cert, verify=verify, trust_env=trust_env145 cookies=cookies,146 proxies=proxies,147 cert=cert,148 verify=verify,149 timeout=timeout,150 trust_env=trust_env,151 ) as client:152 with client.stream(153 method=method,154 url=url,
291 unmodified lines