We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de339c0 commit 2edff78Copy full SHA for 2edff78
src/databricks/sql/backend/sea/utils/http_client.py
@@ -123,12 +123,15 @@ def __init__(
123
124
# Handle proxy settings
125
try:
126
+ # Try to get system proxy for this scheme (http/https)
127
proxy = urllib.request.getproxies().get(self.scheme)
128
except (KeyError, AttributeError):
129
+ # No proxy found or getproxies() failed - disable proxy
130
proxy = None
131
else:
132
+ # Proxy found, but check if this host should bypass proxy
133
if self.host and urllib.request.proxy_bypass(self.host):
- proxy = None
134
+ proxy = None # Host bypasses proxy per system rules
135
136
if proxy:
137
parsed_proxy = urllib.parse.urlparse(proxy)
0 commit comments