From 1f52520db005e056e131f511418e4b71bc9e89fd Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 10 Sep 2013 17:56:17 +0100 Subject: corrected response code for listnodes --- rotord/src/rotord.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'rotord/src/rotord.cpp') diff --git a/rotord/src/rotord.cpp b/rotord/src/rotord.cpp index cdc38fe..bae169f 100644 --- a/rotord/src/rotord.cpp +++ b/rotord/src/rotord.cpp @@ -110,6 +110,7 @@ HTTPRequestHandler* RotorRequestHandlerFactory::createRequestHandler(const HTTPS Node_factory factory; factory.list_nodes(root); string content = writer.write(root); + status=HTTPResponse::HTTP_OK; return new RenderContextHandler(content, status); } } -- cgit v1.2.3