Home | Trees | Indices | Help |
---|
|
Special-purpose HTTP client.
|
|||
|
|||
tuple
|
|
||
|
|||
tuple
|
|
||
str
|
|
||
|
|||
|
|||
tuple
|
|
||
|
|
|||
float
|
timeout = 2 Timeout for socket operations (expressed in seconds). |
||
int
|
bufsize = 1024 Buffer size for network I/O. |
||
str
|
template =
Template of the HTTP request to be sent to the target. |
||
callable
|
_recv Reference to a callable responsible from reading data from the network. |
|
Talk to the target webserver and fetch MIME headers.
|
Sends an HTTP request to the target webserver. This method connects to the target server, sends the HTTP request and records a timestamp.
|
Determine the hostname and port to connect to from an URL
|
Fills the request template with relevant information.
|
Connect to the target address.
|
Read a reply from the server.
|
|
timeoutTimeout for socket operations (expressed in seconds). WARNING: changing this value is strongly discouraged.
|
templateTemplate of the HTTP request to be sent to the target.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Aug 14 15:09:27 2010 | http://epydoc.sourceforge.net |