소스 검색

Merge pull request #17 from const-volatile/master

Update httplib.h
yhirose 8 년 전
부모
커밋
df9428631c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
         }
     }