From c2eff2b09edab34f2b3bbc3bea2f7133056e2bf2 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 10 Apr 2019 21:12:13 +0200 Subject: [PATCH] Print remaining content of the stream in debug mode. --- src/http.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http.cpp b/src/http.cpp index 80f482f..67bec54 100644 --- a/src/http.cpp +++ b/src/http.cpp @@ -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.