|
def | cert_verify (self, conn, url, verify, cert) |
|
def | __init__ (self, pool_connections=DEFAULT_POOLSIZE, pool_maxsize=DEFAULT_POOLSIZE, max_retries=DEFAULT_RETRIES, pool_block=DEFAULT_POOLBLOCK) |
|
def | __getstate__ (self) |
|
def | __setstate__ (self, state) |
|
def | init_poolmanager (self, connections, maxsize, block=DEFAULT_POOLBLOCK, **pool_kwargs) |
|
def | proxy_manager_for (self, proxy, **proxy_kwargs) |
|
def | build_response (self, req, resp) |
|
def | get_connection (self, url, proxies=None) |
|
def | close (self) |
|
def | request_url (self, request, proxies) |
|
def | add_headers (self, request, **kwargs) |
|
def | proxy_headers (self, proxy) |
|
def | send (self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None) |
|
def | __init__ (self) |
|
◆ cert_verify()
def cert_verify |
( |
|
self, |
|
|
|
conn, |
|
|
|
url, |
|
|
|
verify, |
|
|
|
cert |
|
) |
| |
Verify a SSL certificate. This method should not be called from user
code, and is only exposed for use when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.
:param conn: The urllib3 connection object associated with the cert.
:param url: The requested URL.
:param verify: Either a boolean, in which case it controls whether we verify
the server's TLS certificate, or a string, in which case it must be a path
to a CA bundle to use
:param cert: The SSL certificate to verify.
Reimplemented from HTTPAdapter.
The documentation for this class was generated from the following file:
- /home/passerat/Stage/flaskProject/venv/lib/python3.8/site-packages/pip/_internal/network/session.py