mirror of
https://github.com/kennethreitz/requests3.git
synced 2026-06-05 23:10:16 +00:00
35bdfc78c9
If the ``trust_env`` flag is set on a session and ``verify`` is ``True`` or ``None``, the environment is checked for ``CURL_CA_BUNDLE`` and ``REQUESTS_CA_BUNDLE``. Before this patch, if neither existed, ``verify`` would always be set to ``None`` rather than ``True`` even if it was originally ``True``. Signed-off-by: Jeremy Cline <jeremy@jcline.org>