Procházet zdrojové kódy

Merge pull request #17 from const-volatile/master

Update httplib.h
yhirose před 8 roky
rodič
revize
df9428631c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      httplib.h

+ 1 - 1
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;
         }
     }