Even though the CIDR range is in NO_PROXY, HTTP_PROXY still takes effect #3224
Unanswered
softyoungha
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I discovered an issue while using httpx in Airflow.
Contrary to what is documented in httpx
httpx/httpx/_utils.py
Lines 228 to 239 in db9072f
when I inputs a CIDR range in no_proxy, I found that the proxy settings were still being used, even for addresses within that range
you can try this
After reviewing the code, it seems that it can only interpret bit ranges like /8, /16, /24 as URL delimiter slashes due to its structure.
I tried to make custom modifications, but it looks like significant changes would be needed within mounts as well, so I gave up
This issue is quite important to me, so I've also raised it in Airflow.
I'm curious if there are any other methods or plans to fix it.
Beta Was this translation helpful? Give feedback.
All reactions