]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Pass http2 flag to proxy dispatch (#934)
authorYeray Diaz Diaz <yeraydiazdiaz@gmail.com>
Wed, 6 May 2020 14:08:38 +0000 (15:08 +0100)
committerGitHub <noreply@github.com>
Wed, 6 May 2020 14:08:38 +0000 (15:08 +0100)
httpx/_client.py

index df01c3da39bb6f5d4fd614eac3e8929f8a090abe..a9fee25397121522650064cc28a604a16288d4de 100644 (file)
@@ -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: