diff --git a/verifier/lib/httputils.js b/verifier/lib/httputils.js index aad0bd98983f83731ed9326b2cd23649c6452c6f..f062b02f9ed12fc519e18f3a41037e47eca2b408 100644 --- a/verifier/lib/httputils.js +++ b/verifier/lib/httputils.js @@ -63,18 +63,3 @@ exports.badRequest = function(resp, reason) resp.end(); }; -exports.jsonResponse = function(resp, obj) -{ - resp.writeHead(200, {"Content-Type": "application/json"}); - if (obj) resp.write(JSON.stringify(obj)); - resp.end(); -}; - -exports.checkGetArgs = function(req, args) { - [ "email", "pass", "pubkey" ].forEach(function(k) { - if (!urlobj.hasOwnProperty(k) || typeof urlobj[k] !== 'string') { - throw k; - } - }); - -};