check_result
Description:
Checks result of the message
and sets the error
if it failed.
When it failed and the read_bytes
is provided, then these are set to message
's response body, thus it can be used
later.
Parameters:
this |
an SoupSession |
message |
a Message |
read_bytes |
optional bytes which had been read from the stream, or |
bytes_length |
how many bytes had been read; ignored when |
Returns:
Whether succeeded, aka |