Skip to content
Myr

Merge pull request #2115 from sigmavirus24/fix-2092

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

Update how we check verify when inspecting env variables

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 538a41e, 3957b0b · 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: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:444 verify = os.environ.get('CURL_CA_BUNDLE')445446 # Merge all the kwargs.447 proxies = merge_setting(proxies, self.proxies)
198 unmodified lines