Clean up win32 server example.

This commit is contained in:
jmsgrogan 2023-01-10 09:28:15 +00:00
parent 5362b694e0
commit 2c825adc1d
23 changed files with 337 additions and 156 deletions

View file

@ -2,6 +2,23 @@
#include "StringUtils.h"
HttpHeader::HttpHeader()
: mContentType("text / html"),
mHttpVersion("1.1")
{
}
std::string HttpHeader::getContentType() const
{
return mContentType;
}
std::string HttpHeader::getHttpVersion() const
{
return mHttpVersion;
}
void HttpHeader::parse(const std::vector<std::string >& message)
{
std::string tag;