X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Fhttp%2Fpages%2Finsertedfilespage.cpp;h=65cdeeabd46dfc70c433dc57268f930a4db47fdc;hp=1fab7cd54ee724af93106e1eebc37e5d7b537836;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hpb=9b22dd53fe62e312c1647310b7ec43aa127090af diff --git a/src/http/pages/insertedfilespage.cpp b/src/http/pages/insertedfilespage.cpp index 1fab7cd..65cdeea 100644 --- a/src/http/pages/insertedfilespage.cpp +++ b/src/http/pages/insertedfilespage.cpp @@ -49,7 +49,7 @@ const std::string InsertedFilesPage::GeneratePage(const std::string &method, con st.Step(); } - 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 InsertedFilesPage::WillHandleURI(const std::string &uri)