unsigned colon=addr_str.find(':');
cl.request->set_header("-Client-Host", addr_str.substr(0, colon));
- if(cl.request->get_method()!="GET")
+ if(cl.request->get_method()!="GET" && cl.request->get_method()!="POST")
{
response=new Response(NOT_IMPLEMENTED);
response->add_content("Method not implemented");