Lower-lower-level classes
requests.PreparedRequest
requests.PreparedRequest(self)
The fully mutable PreparedRequest object, containing the exact bytes that will be sent to the server.
Instances are generated from a Request object, and should not be instantiated manually; doing so may produce undesirable effects.
Examples
>>> import requests >>> req = requests.Request('GET', 'https://httpbin.org/get') >>> r = req.prepare() >>> r <PreparedRequest [GET]> >>> s = requests.Session() >>> s.send(r) <Response [200]>
requests.adapters.BaseAdapter
requests.adapters.BaseAdapter(self)
The Base Transport Adapter
requests.adapters.HTTPAdapter
requests.adapters.HTTPAdapter(pool_connections=10, pool_maxsize=10, max_retries=0, pool_block=False)
The built-in HTTP Adapter for urllib3.
Provides a general-case interface for Requests sessions to contact HTTP and HTTPS urls by implementing the Transport Adapter interface. This class will usually be created by the Session class under the covers.