Print remaining content of the stream in debug mode.
All checks were successful
the build was successful
All checks were successful
the build was successful
This commit is contained in:
parent
031c0c3e22
commit
c2eff2b09e
|
@ -65,6 +65,7 @@ void API::http::request_stream(const string &path, string &stream)
|
|||
{ // deleted before we access it.
|
||||
ret = request_common(http_method::GET_STREAM, path,
|
||||
curlpp::Forms(), stream);
|
||||
ttdebug << "Remaining content of the stream: " << stream << '\n';
|
||||
if (!ret)
|
||||
{
|
||||
// Embed the HTTP status code in stream on error.
|
||||
|
|
Reference in New Issue
Block a user