From 5eac15a067e669d03ceaff3e601e54b3fd881faf Mon Sep 17 00:00:00 2001 From: lariossoler Date: Thu, 5 Mar 2026 10:37:46 +0100 Subject: [PATCH] Add proxy support to async HTTP client Resolves #788 --- twilio/http/async_http_client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/twilio/http/async_http_client.py b/twilio/http/async_http_client.py index ecd5d4de95..9e07f93d05 100644 --- a/twilio/http/async_http_client.py +++ b/twilio/http/async_http_client.py @@ -93,7 +93,9 @@ async def request( "timeout": timeout, "allow_redirects": allow_redirects, } - + if self.proxy_url: + kwargs["proxy"] = self.proxy_url + self.log_request(kwargs) self._test_only_last_response = None