#ifndef ____index_h__ #define ____index_h__ #include "HTTPPage.h" #include "IMFHeader.h" namespace http { class __index : public HTTPPage { int page(HTTPParameters &p) override { printf("path: %s", p.httpRequest.uriValues["path"].str().c_str()); p.data << "" " " " " " " " " " " " " "
If you see this then something is wrong.
" " " ""; p.httpRequest.response.addHeader(coreutils::IMFHeader("Content-Type", "text/html")); return true; } }; } #endif