Core lib building
This commit is contained in:
parent
3ed195d7dd
commit
94fcc42aed
73 changed files with 625 additions and 661 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue