Clean up win32 server example.
This commit is contained in:
parent
5362b694e0
commit
2c825adc1d
23 changed files with 337 additions and 156 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue