Make hello world plugin more verbose to allow testing

This commit is contained in:
DennisOSRM 2012-09-12 15:15:21 +02:00
parent 03f8845998
commit 504368b293

View File

@ -21,7 +21,6 @@ public:
std::string GetVersionString() const { return std::string("0.1a"); }
void HandleRequest(const RouteParameters & routeParameters, http::Reply& reply) {
std::cout << "[hello world]: runnning handler" << std::endl;
reply.status = http::Reply::ok;
reply.content.append("<html><head><title>Hello World Demonstration Document</title></head><body><h1>Hello, World!</h1>");
std::stringstream content;