Document the curl_ca_bundle environment variable

This commit is contained in:
Chris Mayo 2021-12-13 19:25:23 +00:00
parent a2e379a595
commit 9504a6dddf
2 changed files with 3 additions and 1 deletions

View file

@ -334,6 +334,8 @@ under Windows systems. On a Mac use
the Internet Config to select a proxy.
You can also set a comma-separated domain list in the :envvar:`no_proxy`
environment variables to ignore any proxy settings for these domains.
The :envvar:`curl_ca_bundle` environment variable can be used to identify an
alternative certificate bundle to be used with an HTTPS proxy.
Setting a HTTP proxy on Unix for example looks like this:

View file

@ -105,7 +105,7 @@ def print_env_info(key, out=stderr):
def print_proxy_info(out=stderr):
"""Print proxy info."""
for key in ("http_proxy", "https_proxy", "no_proxy"):
for key in ("http_proxy", "https_proxy", "curl_ca_bundle", "no_proxy"):
print_env_info(key, out=out)