Public Member Functions | |
| def | __init__ |
Public Attributes | |
| code | |
| response | |
Exception thrown for an unsuccessful HTTP request.
Attributes:
code - HTTP error integer error code, e.g. 404. Error code 599 is
used when no HTTP response was received, e.g. for a timeout.
response - HTTPResponse object, if any.
Note that if follow_redirects is False, redirects become HTTPErrors,
and you can look at error.response.headers['Location'] to see the
destination of the redirect.
Definition at line 395 of file httpclient.py.
| def tornado.httpclient.HTTPError.__init__ | ( | self, | |
| code, | |||
message = None, |
|||
response = None |
|||
| ) |
Definition at line 409 of file httpclient.py.
Definition at line 409 of file httpclient.py.
Definition at line 409 of file httpclient.py.