Core lib building

This commit is contained in:
jmsgrogan 2024-01-02 16:14:23 +00:00
parent 3ed195d7dd
commit 94fcc42aed
73 changed files with 625 additions and 661 deletions

View file

@ -1,5 +1,5 @@
#include "HttpHeader.h"
#include "StringUtils.h"
#include "Char.h"
HttpHeader::HttpHeader()
@ -29,7 +29,7 @@ void HttpHeader::parse(const Vector<String >& message)
for(size_t idx = 0; idx< line.size(); idx++)
{
const auto c = line[idx];
if (c == StringUtils::COLON)
if (c == Char::COLON)
{
foundDelimiter = true;
}
@ -91,7 +91,7 @@ void HttpHeader::parse(const Vector<String >& message)
}
else
{
mOtherFields[tag] = value;
mOtherFields.insert(tag, value);
}
}