Skip to content
Snippets Groups Projects
Commit 371ef48f authored by Cédric Moreau's avatar Cédric Moreau
Browse files

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

parent 6e78ba7d
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,7 @@ function KeychainBinding (wotServer) {
}
this.current = function (req, res) {
res.end(503);
res.send(501, "Not implemented.");
res.end();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment