fix: restore ssl_verify args in create_client retry calls

This commit is contained in:
Vitaliy 2026-06-20 00:09:08 -04:00 • committed by GitHub
parent eb4b9b654b
commit e43bbf3f0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -649,9 +649,7 @@ class AsyncHTTPHandler:
return response
except (httpx.RemoteProtocolError, httpx.ConnectError):
# Retry the request with a new session if there is a connection error
new_client = self.create_client(
)
new_client = self. )
try:
return await self.single_connection_post_request(
url=url,
@ -712,9 +710,7 @@ class AsyncHTTPHandler:
return response
except (httpx.RemoteProtocolError, httpx.ConnectError):
# Retry the request with a new session if there is a connection error
new_client = self.create_client(
)
new_client = self. )
try:
return await self.single_connection_post_request(
url=url,
@ -773,9 +769,7 @@ class AsyncHTTPHandler:
return response
except (httpx.RemoteProtocolError, httpx.ConnectError):
# Retry the request with a new session if there is a connection error
new_client = self.create_client(
)
new_client = self. )
try:
return await self.single_connection_post_request(
url=url,
@ -834,9 +828,7 @@ class AsyncHTTPHandler:
return response
except (httpx.RemoteProtocolError, httpx.ConnectError):
# Retry the request with a new session if there is a connection error
new_client = self.create_client(
)
new_client = self. )
try:
return await self.single_connection_post_request(
url=url,