You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably it is related to #3126, but when I according to documentation do:
client = httpx.AsyncClient(http2=True, verify=False)
post_response = await client.post(post_url, headers=post_headers, cookies=post_cookies, data=post_data)
in the logs I see:
DEBUG [2025-01-25 14:02:16] httpx - load_ssl_context verify=False cert=None trust_env=True http2=False
So http2=False from the beginning, why? It was instructed to use http2=true. If I specify http1=False, http2=True the connection is not made succesfully. Curl and web browsers do http2 on the same server successfully.
The text was updated successfully, but these errors were encountered:
Probably it is related to #3126, but when I according to documentation do:
client = httpx.AsyncClient(http2=True, verify=False)
post_response = await client.post(post_url, headers=post_headers, cookies=post_cookies, data=post_data)
in the logs I see:
DEBUG [2025-01-25 14:02:16] httpx - load_ssl_context verify=False cert=None trust_env=True http2=False
So http2=False from the beginning, why? It was instructed to use http2=true. If I specify http1=False, http2=True the connection is not made succesfully. Curl and web browsers do http2 on the same server successfully.
The text was updated successfully, but these errors were encountered: