t.w.c.readBody(response) : function documentation

Part of twisted.web.client View Source

Get the body of an IResponse and return it as a byte string.

This is a helper function for clients that don't want to incrementally receive the body of an HTTP response.

ParametersresponseThe HTTP response for which the body will be read. (type: IResponse provider)
ReturnsA Deferred which will fire with the body of the response.
API Documentation for Twisted, generated by pydoctor at 2014-09-18 22:01:49.