From: Tom Christie Date: Thu, 29 Apr 2021 10:08:48 +0000 (+0100) Subject: Add missing timeout=... to top-level httpx.stream() function. (#1613) X-Git-Tag: 0.18.1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81f385c484f1c2f189e8e9d05b02d16240bec199;p=thirdparty%2Fhttpx.git Add missing timeout=... to top-level httpx.stream() function. (#1613) --- diff --git a/httpx/_api.py b/httpx/_api.py index ff40ce65..da818538 100644 --- a/httpx/_api.py +++ b/httpx/_api.py @@ -142,7 +142,12 @@ def stream( [0]: /quickstart#streaming-responses """ with Client( - cookies=cookies, proxies=proxies, cert=cert, verify=verify, trust_env=trust_env + cookies=cookies, + proxies=proxies, + cert=cert, + verify=verify, + timeout=timeout, + trust_env=trust_env, ) as client: with client.stream( method=method,