You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If verify is set to False and the environment variables REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE happen to be set, then these environment variables will override the explicit verify=False. This is because in Session.merge_environment_settings the request level verify is merged with the session level verify after the request level verify is obtained for the environment and the default for trust_env is true.
The text was updated successfully, but these errors were encountered:
Now that #535 has merged, you should be able to create a requests.Session, set trust_env to False and then pass it into the pylxd.Client which will help isolate you from the environment
If
verify
is set toFalse
and the environment variablesREQUESTS_CA_BUNDLE
orCURL_CA_BUNDLE
happen to be set, then these environment variables will override the explicitverify=False
. This is because inSession.merge_environment_settings
the request levelverify
is merged with the session levelverify
after the request levelverify
is obtained for the environment and the default fortrust_env
is true.The text was updated successfully, but these errors were encountered: