Skip to content

Commit

Permalink
Pass http2 flag to proxy dispatch (#934)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeray Diaz Diaz committed May 6, 2020
1 parent afbd4c8 commit 4af3dd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions httpx/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,7 @@ def init_proxy_dispatch(
ssl_context=ssl_context,
max_keepalive=max_keepalive,
max_connections=max_connections,
http2=http2,
)

def dispatcher_for_url(self, url: URL) -> httpcore.AsyncHTTPTransport:
Expand Down

0 comments on commit 4af3dd7

Please sign in to comment.