Improvements for markdown parsing.

This commit is contained in:
James Grogan 2022-12-06 18:02:43 +00:00
parent fc44290e3f
commit 8705859115
40 changed files with 957 additions and 537 deletions

View file

@ -38,7 +38,7 @@ void HttpRequest::parseFirstLine(const std::string& line)
const auto c = line[idx];
if (inPath)
{
if (StringUtils::IsSpace(c))
if (StringUtils::isSpace(c))
{
inPath = false;
inMethod = true;
@ -50,7 +50,7 @@ void HttpRequest::parseFirstLine(const std::string& line)
}
else if (inMethod)
{
if (StringUtils::IsSpace(c))
if (StringUtils::isSpace(c))
{
inMethod = false;
inProtocol = true;