mirror of https://github.com/nucypher/nucypher.git
Migration of Adapter use based on deprecation done for requests v2.32.2 via https://github.com/psf/requests/pull/6710.
parent
8f2abef7f3
commit
fe02e51c41
|
@ -107,6 +107,9 @@ class SelfSignedCertificateAdapter(HTTPAdapter):
|
|||
self.certificate_cache, *args, **kwargs
|
||||
)
|
||||
|
||||
def get_connection_with_tls_context(self, request, verify, proxies=None, cert=None):
|
||||
return self.get_connection(request.url, proxies)
|
||||
|
||||
|
||||
class P2PSession(Session):
|
||||
_DEFAULT_HOSTNAME = ""
|
||||
|
|
Loading…
Reference in New Issue