if(cl.request->get_method()!="GET" && cl.request->get_method()!="POST")
{
response = new Response(NOT_IMPLEMENTED);
- response->add_content("Method not implemented");
+ response->add_content("Method not implemented\n");
}
}
catch(const exception &e)
if(response->get_status()==NONE)
{
response = new Response(NOT_FOUND);
- response->add_content("The requested resource was not found");
+ response->add_content("The requested resource was not found\n");
}
}
}