mayuanxiaonong commented on issue #37939:
URL: https://github.com/apache/airflow/issues/37939#issuecomment-1982285886
skip proxy bypass check with the follow code:
```python
## try with httpx
with httpx.Client(trust_env=False, timeout=30) as client:
resp = client.get(url=url)
print('resp = ', resp, resp.is_success)
## or with requests
with requests.Session() as session:
session.trust_env = False
resp = session.get(url=url, timeout=30)
print('resp = ', resp)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]