GBytes* soup_session_send_and_read ( SoupSession* session, SoupMessage* msg, GCancellable* cancellable, GError** error )
msg and reads the response body.
On success, a
GBytes will be returned with the response body.
This function should only be used when the resource to be retrieved
is not too long and can be stored in memory.
soup_session_send() for more details on the general semantics.
|The caller of the method takes ownership of the data, and is responsible for freeing it.|