mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00:00
commit
df9428631c
1 changed files with 1 additions and 1 deletions
|
@ -1081,7 +1081,7 @@ inline bool Client::process_request(Stream& strm, const Request& req, Response&
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (req.method != "HEAD") {
|
if (req.method != "HEAD") {
|
||||||
if (!detail::read_content(strm, res, false)) {
|
if (!detail::read_content(strm, res, true)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue