X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Fhttp%2Fpages%2Fexecquerypage.cpp;h=b09b32ef00f264323fcbff995e03300eaca112b2;hp=8ef4c48bd9ec76a9ac6499ec81e3c39f579dd13b;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hpb=9b22dd53fe62e312c1647310b7ec43aa127090af diff --git a/src/http/pages/execquerypage.cpp b/src/http/pages/execquerypage.cpp index 8ef4c48..b09b32e 100644 --- a/src/http/pages/execquerypage.cpp +++ b/src/http/pages/execquerypage.cpp @@ -55,7 +55,7 @@ const std::string ExecQueryPage::GeneratePage(const std::string &method, const s content+=""; content+=""; - return "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n"+StringFunctions::Replace(m_template,"[CONTENT]",content); + return StringFunctions::Replace(m_template,"[CONTENT]",content); } const bool ExecQueryPage::WillHandleURI(const std::string &uri)