fix: eof tester

This commit is contained in:
Talyx
2022-02-17 19:44:12 +03:00
parent e97df9c137
commit 87bc1cfc70
3 changed files with 3 additions and 1 deletions

View File

@@ -417,6 +417,8 @@ void Response::methodPost(void)
_body.erase(_body.begin(), _body.begin() + pos + 4);
}
}
else
_code = 204;
setHeaderBlocks();
generateHeader();
DBOUT << GREEN << "POST method called" << ENDL;