When turning of ssl verification, make sure it propagates to urllib3
This commit is contained in:
@@ -189,6 +189,7 @@ class Urllib3HttpConnection(Connection):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
kw["cert_reqs"] = "CERT_NONE"
|
||||||
if ssl_show_warn:
|
if ssl_show_warn:
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
"Connecting to %s using SSL with verify_certs=False is insecure."
|
"Connecting to %s using SSL with verify_certs=False is insecure."
|
||||||
|
|||||||
Reference in New Issue
Block a user