requests
requests copied to clipboard
Warn user if environment variables are used
When session.verify=False, session.trust_env=True and REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE is defined as environment variables then, notify user that requests will use environment variables rather than silently failing.
partially fixes: #3829
Signed-off-by: Abhijeet Kasurde [email protected]
I spend hours debugging this error. I am aware that this odd behavior is fixed in 3.* release.
Really nice pr, I checked it – warnings works well, can save a tons of devs time. It would be nice to have more verbose warning text, for those who are not familiar with this problem.
It would be nice to have more verbose warning text, for those who are not familiar with this problem.
Could you please suggest something? 😂
Closing/re-opening since I can't trigger CI to run here
What's the status of this PR?
I am aware that this odd behavior is fixed in 3.* release.
From #6050 looks like 3.x isn't going to happen any time soon, and commitments to fix things in 3.x don't necessarily hold.
What's the status of this PR?
I would love to see this PR getting merged. Let me know if you need something from myside.