diff options
author | Mattes D <github@xoft.cz> | 2016-02-20 12:33:27 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-03-01 16:19:59 +0100 |
commit | 71a1fa81f00cf897d91e8f76cc7e646dd61cc2ff (patch) | |
tree | 5fb4f8639032691b3a09a20b81692ae304693578 /src/HTTP/HTTPMessage.cpp | |
parent | WebAdmin uses the new HTTP parser framework. (diff) | |
download | cuberite-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 'src/HTTP/HTTPMessage.cpp')
-rw-r--r-- | src/HTTP/HTTPMessage.cpp | 4 |
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); |