From 7b8d0085b15558f3a6df91d95f53e7a249589d6c Mon Sep 17 00:00:00 2001 From: fantasy-peak <82742316+fantasy-peak@users.noreply.github.com> Date: Thu, 20 Jun 2024 00:09:08 +0800 Subject: [PATCH] Delay parsing json for HttpClient (#2077) --- lib/src/HttpClientImpl.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/src/HttpClientImpl.cc b/lib/src/HttpClientImpl.cc index 14c19de0..b8cf7596 100644 --- a/lib/src/HttpClientImpl.cc +++ b/lib/src/HttpClientImpl.cc @@ -561,10 +561,6 @@ void HttpClientImpl::handleResponse( resp->brDecompress(); } #endif - if (type.find("application/json") != std::string::npos) - { - resp->parseJson(); - } auto cb = std::move(reqAndCb); pipeliningCallbacks_.pop(); handleCookies(resp);