edutap.wallet_google.session.HTTPRecorder#
- class edutap.wallet_google.session.HTTPRecorder(pool_connections=10, pool_maxsize=10, max_retries=0, pool_block=False)#
Record the HTTP requests and responses to a file.
- __init__(pool_connections=10, pool_maxsize=10, max_retries=0, pool_block=False)#
Methods
__init__([pool_connections, pool_maxsize, ...])add_headers(request, **kwargs)Add any headers needed by the connection.
build_connection_pool_key_attributes(...[, cert])Build the PoolKey attributes used by urllib3 to return a connection.
build_response(req, resp)Builds a
Responseobject from a urllib3 response.cert_verify(conn, url, verify, cert)Verify a SSL certificate.
close()Disposes of any internal state.
get_connection(url[, proxies])DEPRECATED: Users should move to get_connection_with_tls_context for all subclasses of HTTPAdapter using Requests>=2.32.2.
get_connection_with_tls_context(request, verify)Returns a urllib3 connection for the given request and TLS settings.
init_poolmanager(connections, maxsize[, block])Initializes a urllib3 PoolManager.
proxy_headers(proxy)Returns a dictionary of the headers to add to any request sent through a proxy.
proxy_manager_for(proxy, **proxy_kwargs)Return urllib3 ProxyManager for the given proxy.
request_url(request, proxies)Obtain the url to use when making the final request.
send(request, *args, **kwargs)Sends PreparedRequest object.
Attributes
settings