Commit 371ef48f authored by Cédric Moreau's avatar Cédric Moreau

HTTP API: send 501 HTTP code for non-implemented URIs

parent 6e78ba7d
......@@ -74,6 +74,7 @@ function KeychainBinding (wotServer) {
}
this.current = function (req, res) {
res.end(503);
res.send(501, "Not implemented.");
res.end();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment