Commit d990ae7
Steven Buss
fix(client): let requests read env vars
This fix lets the `requests` library read configuration from environment
variables.
This is intended to fix a problem I had with being unable to
authenticate with deis when using a self-signed cert from a debian
system. By default, requests does not trust the system cert bundle on
debian systems and requires either `verify=/path/to/bundle` (as a config
value of requests.Session) or `REQUESTS_CA_BUNDLE=/path/to/bundle`. But,
in order for that environment variable to get read,
`requests.Session.trust_env` must be `True`.1 parent ba950c2 commit d990ae7
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| |||
0 commit comments