Public Member Functions | |
def | __init__ |
def | __repr__ |
def | rethrow |
Public Attributes | |
buffer | |
code | |
effective_url | |
error | |
headers | |
request | |
request_time | |
time_info | |
Properties | |
body = property(_get_body) | |
Private Member Functions | |
def | _get_body |
Private Attributes | |
_body |
HTTP Response object. Attributes: * request: HTTPRequest object * code: numeric HTTP status code, e.g. 200 or 404 * headers: httputil.HTTPHeaders object * buffer: cStringIO object for response body * body: respose body as string (created on demand from self.buffer) * error: Exception object, if any * request_time: seconds from request start to finish * time_info: dictionary of diagnostic timing information from the request. Available data are subject to change, but currently uses timings available from http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html, plus 'queue', which is the delay (if any) introduced by waiting for a slot under AsyncHTTPClient's max_clients setting.
Definition at line 325 of file httpclient.py.
def tornado.httpclient.HTTPResponse.__init__ | ( | self, | |
request, | |||
code, | |||
headers = None , |
|||
buffer = None , |
|||
effective_url = None , |
|||
error = None , |
|||
request_time = None , |
|||
time_info = None |
|||
) |
Definition at line 350 of file httpclient.py.
def tornado.httpclient.HTTPResponse.__repr__ | ( | self | ) |
Definition at line 390 of file httpclient.py.
def tornado.httpclient.HTTPResponse._get_body | ( | self | ) | [private] |
Definition at line 375 of file httpclient.py.
def tornado.httpclient.HTTPResponse.rethrow | ( | self | ) |
If there was an error on the request, raise an `HTTPError`.
Definition at line 385 of file httpclient.py.
tornado::httpclient.HTTPResponse::_body [private] |
Definition at line 350 of file httpclient.py.
Definition at line 350 of file httpclient.py.
Definition at line 350 of file httpclient.py.
Definition at line 350 of file httpclient.py.
Definition at line 350 of file httpclient.py.
Definition at line 350 of file httpclient.py.
Definition at line 350 of file httpclient.py.
Definition at line 350 of file httpclient.py.
Definition at line 350 of file httpclient.py.
tornado::httpclient.HTTPResponse::body = property(_get_body) [static] |
Definition at line 383 of file httpclient.py.