ferencd@0: <%pre> ferencd@0: #include "file_sender.h" ferencd@0: ferencd@0: <%cpp> ferencd@0: try ferencd@0: { ferencd@0: std::string path = theme_path + "index.html"; ferencd@0: return file_sender(request, reply, path).templatize().send(); ferencd@0: } ferencd@0: catch(...) ferencd@0: { ferencd@0: reply.out() << "I'm a teapot"; ferencd@0: return 418; ferencd@0: } ferencd@0: