diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-09-10 17:56:17 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-09-10 17:56:17 +0100 |
| commit | 1f52520db005e056e131f511418e4b71bc9e89fd (patch) | |
| tree | 77eae6d1cf04d63f157626b528fda010ceb03ade /rotord/src/rotord.cpp | |
| parent | c52e24e5c1d0f2b90412826dece31f1604f26683 (diff) | |
corrected response code for listnodes
Diffstat (limited to 'rotord/src/rotord.cpp')
| -rw-r--r-- | rotord/src/rotord.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |
