kwargs: ``HTTPRequest(request, **kwargs)``
This method returns a `.Future` whose result is an
- `HTTPResponse`. By default, the ``Future`` will raise an `HTTPError`
- if the request returned a non-200 response code. Instead, if
- ``raise_error`` is set to False, the response will always be
- returned regardless of the response code.
+ `HTTPResponse`. By default, the ``Future`` will raise an
+ `HTTPError` if the request returned a non-200 response code
+ (other errors may also be raised if the server could not be
+ contacted). Instead, if ``raise_error`` is set to False, the
+ response will always be returned regardless of the response
+ code.
If a ``callback`` is given, it will be invoked with the `HTTPResponse`.
In the callback interface, `HTTPError` is not automatically raised.