summaryrefslogtreecommitdiffstats
path: root/src/HTTP/HTTPMessage.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-02-20 12:33:27 +0100
committerMattes D <github@xoft.cz>2016-03-01 16:19:59 +0100
commit71a1fa81f00cf897d91e8f76cc7e646dd61cc2ff (patch)
tree5fb4f8639032691b3a09a20b81692ae304693578 /src/HTTP/HTTPMessage.cpp
parentWebAdmin uses the new HTTP parser framework. (diff)
downloadcuberite-71a1fa81f00cf897d91e8f76cc7e646dd61cc2ff.tar
cuberite-71a1fa81f00cf897d91e8f76cc7e646dd61cc2ff.tar.gz
cuberite-71a1fa81f00cf897d91e8f76cc7e646dd61cc2ff.tar.bz2
cuberite-71a1fa81f00cf897d91e8f76cc7e646dd61cc2ff.tar.lz
cuberite-71a1fa81f00cf897d91e8f76cc7e646dd61cc2ff.tar.xz
cuberite-71a1fa81f00cf897d91e8f76cc7e646dd61cc2ff.tar.zst
cuberite-71a1fa81f00cf897d91e8f76cc7e646dd61cc2ff.zip
Diffstat (limited to '')
-rw-r--r--src/HTTP/HTTPMessage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HTTP/HTTPMessage.cpp b/src/HTTP/HTTPMessage.cpp
index 5a7b86315..a535108e3 100644
--- a/src/HTTP/HTTPMessage.cpp
+++ b/src/HTTP/HTTPMessage.cpp
@@ -69,7 +69,7 @@ void cHTTPMessage::AddHeader(const AString & a_Key, const AString & a_Value)
////////////////////////////////////////////////////////////////////////////////
// cHTTPResponse:
-cHTTPResponse::cHTTPResponse(void) :
+cHTTPOutgoingResponse::cHTTPOutgoingResponse(void) :
super(mkResponse)
{
}
@@ -78,7 +78,7 @@ cHTTPResponse::cHTTPResponse(void) :
-void cHTTPResponse::AppendToData(AString & a_DataStream) const
+void cHTTPOutgoingResponse::AppendToData(AString & a_DataStream) const
{
a_DataStream.append("HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\nContent-Type: ");
a_DataStream.append(m_ContentType);