Open eaglegai opened 5 months ago
Hi @eaglegai, certifi
is a declared dependency of Requests. This should be available in all installations. We derive the the DEFAULT_CA_BUNDLE_PATH
being used in this line from requests.certs.where()
.
Can you confirm you 1.) have certifi
installed and 2.) the value of import requests; requests.certs.where()
?
Hi @nateprewitt , we build a mini environment which cut off the unnecessary packages,
and in this env, we just import requests
for http://
and verify is false
is enough.
It's not reasonable to force to load the certificates by default, because it's not necessary in the case that verify is false.
As we consider the case that isn't built with the ssl module, why not consider the situation that 'verify is false' needn't certificates.
I set verify to False, but it still need cerfiticate. As we have catched ImportError, why not catch FileNotFoundError together?
Expected Result
won't Traceback
Actual Result
Reproduction Steps