Package viewer :: Package lib :: Module asynchttp :: Class AsyncHTTPResponse
[hide private]
[frames] | no frames]

Class AsyncHTTPResponse

source code

This class attempts to mimic HTTPResponse from httplib. The major difference is that it is NOT DYNAMIC: All the reading has already been done

Instance Methods [hide private]
 
__init__(self, fp, debuglevel=0)
This constructor builds everything in the response object except the body.
source code
 
__str__(self) source code
 
getheader(self, name, default=None) source code
 
getbody(self) source code
Method Details [hide private]

__init__(self, fp, debuglevel=0)
(Constructor)

source code 

This constructor builds everything in the response object except the body. It expects a file object containing the header text returnded by the server