Print remaining content of the stream in debug mode.
the build was successful
Details
the build was successful
Details
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.
|
{ // deleted before we access it.
|
||||||
ret = request_common(http_method::GET_STREAM, path,
|
ret = request_common(http_method::GET_STREAM, path,
|
||||||
curlpp::Forms(), stream);
|
curlpp::Forms(), stream);
|
||||||
|
ttdebug << "Remaining content of the stream: " << stream << '\n';
|
||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
// Embed the HTTP status code in stream on error.
|
// Embed the HTTP status code in stream on error.
|
||||||
|
|
Reference in New Issue