ResponseHTTPConnection
- class pytest_response.interceptors._urllib.ResponseHTTPConnection(host, port=None, timeout=<object object>, source_address=None, blocksize=8192)[source]
Bases:
HTTPConnection
Wrapper for ~http.client.HTTPConnection
Methods Summary
connect
()Override the connect() function to intercept calls.
request
(method, url[, body, headers, ...])Send a complete request to the server.
Methods Documentation