t.w.c._AgentMixin(object) : class documentation

Part of twisted.web.client View Source View In Hierarchy

Known subclasses: twisted.web.client.Agent, twisted.web.client.ProxyAgent

Base class offering facilities for Agent-type classes.
Present Since11.1
Method _connectAndRequest Internal helper to make the request.
Method _computeHostValue Compute the string to use for the value of the Host header, based on the given scheme, host name, and port number.
def _connectAndRequest(self, method, uri, headers, bodyProducer, requestPath=None): (source)
Internal helper to make the request.
ParametersrequestPathIf specified, the path to use for the request instead of the path extracted from uri.
def _computeHostValue(self, scheme, host, port): (source)
Compute the string to use for the value of the Host header, based on the given scheme, host name, and port number.
API Documentation for Twisted, generated by pydoctor at 2012-02-14 18:17:43.