Home | Trees | Indices | Help |
|
---|
|
internet.protocol.BaseProtocol --+ | internet.protocol.Protocol --+ | protocols.basic._PauseableMixin --+ | protocols.basic.LineReceiver --+ | http.HTTPClient --+ | HTTPPageGetter
Gets a resource via HTTP, then quits.
Typically used with HTTPClientFactory
. Note
that this class does not, by itself, do anything with the response. If
you want to download a resource into a file, use HTTPPageDownloader
instead.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
quietLoss = 0 hash(x) |
|||
followRedirect = True hash(x) |
|||
failed = 0 hash(x) |
|||
_specialHeaders =
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
Called when a connection is made. This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.
|
Called every time a header is received. Stores the header information
as key-value pairs in the
|
Called when the status-line is received.
|
Called when all headers have been received.
|
Called when the connection is shut down. Clear any circular references here, and any external references to this Protocol. The connection has been closed.
|
|
_specialHeaders
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Jun 27 06:52:52 2010 | http://epydoc.sourceforge.net |