mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Fixed #124
This commit is contained in:
parent
86df5fb901
commit
28ad0ca68d
1 changed files with 1 additions and 1 deletions
|
@ -2024,7 +2024,7 @@ inline bool Client::read_response_line(Stream& strm, Response& res)
|
|||
return false;
|
||||
}
|
||||
|
||||
const static std::regex re("(HTTP/1\\.[01]) (\\d+?) .+\r\n");
|
||||
const static std::regex re("(HTTP/1\\.[01]) (\\d+?) .*\r\n");
|
||||
|
||||
std::cmatch m;
|
||||
if (std::regex_match(reader.ptr(), m, re)) {
|
||||
|
|
Loading…
Reference in a new issue