Kaydet (Commit) 6080fa50 authored tarafından Joffrey F's avatar Joffrey F

Simple TLS configuration doesn't create the ssl_version attribute, use default…

Simple TLS configuration doesn't create the ssl_version attribute, use default when mounting adapter
üst 94cb0bdc
......@@ -65,7 +65,7 @@ class Client(requests.Session):
if isinstance(tls, TLSConfig):
tls.configure_client(self)
elif tls:
self.mount('https://', ssladapter.SSLAdapter(self.ssl_version))
self.mount('https://', ssladapter.SSLAdapter())
else:
self.mount('http+unix://', unixconn.UnixAdapter(base_url, timeout))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment