Delay parsing json for HttpClient (#2077)

This commit is contained in:
fantasy-peak 2024-06-20 00:09:08 +08:00 committed by GitHub
parent f6913f6328
commit 7b8d0085b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -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);