ResponseHTTPSConnection

class pytest_response.interceptors._urllib.ResponseHTTPSConnection(host, port=None, key_file=None, cert_file=None, timeout=<object object>, source_address=None, *, context=None, check_hostname=None, blocksize=8192)[source]

Bases: HTTPSConnection, ResponseHTTPConnection

Override the default ~HTTPSConnection to use ~ResponseSocket

Methods Summary

connect()

Connect to a host on a given (SSL) port.

request(method, url[, body, headers, ...])

Send a complete request to the server.

Methods Documentation

connect()[source]

Connect to a host on a given (SSL) port.

request(method, url, body=None, headers={}, *, encode_chunked=False)[source]

Send a complete request to the server.