Skip to content
Myr

Update how we check verify when inspecting env variables

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ian Cordasco · committed by Ian Cordasco · parent de2cd2e · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/sessions.py+2 added-2 removed
434 unmodified lines
435 for (k, v) in env_proxies.items():436 proxies.setdefault(k, v)437438 # Look for configuration.439 if not verify and verify is not False:439 if verify is True or (verify is None and verify is not False):440 verify = os.environ.get('REQUESTS_CA_BUNDLE')441442 # Curl compatibility.443 if not verify and verify is not False:443 if verify is True or (verify is None and verify is not False):444 verify = os.environ.get('CURL_CA_BUNDLE')445446 # Merge all the kwargs.447 proxies = merge_setting(proxies, self.proxies)
198 unmodified lines