From: Yeray Diaz Diaz Date: Wed, 6 May 2020 14:08:38 +0000 (+0100) Subject: Pass http2 flag to proxy dispatch (#934) X-Git-Tag: 0.13.0.dev1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4af3dd7abce000466305fcfc362734c3c43b49b4;p=thirdparty%2Fhttpx.git Pass http2 flag to proxy dispatch (#934) --- diff --git a/httpx/_client.py b/httpx/_client.py index df01c3da..a9fee253 100644 --- a/httpx/_client.py +++ b/httpx/_client.py @@ -1061,6 +1061,7 @@ class AsyncClient(BaseClient): ssl_context=ssl_context, max_keepalive=max_keepalive, max_connections=max_connections, + http2=http2, ) def dispatcher_for_url(self, url: URL) -> httpcore.AsyncHTTPTransport: