diff --git a/httplib.h b/httplib.h index 036fdd8..dda5cc3 100644 --- a/httplib.h +++ b/httplib.h @@ -1081,7 +1081,7 @@ inline bool Client::process_request(Stream& strm, const Request& req, Response& return false; } if (req.method != "HEAD") { - if (!detail::read_content(strm, res, false)) { + if (!detail::read_content(strm, res, true)) { return false; } }