Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
http.createServer(function(req, res){
try {
cookie.parseCookie(req);
//cookie.parseRememberMe(req, res, function(req, res){
//
// test
//});
cookie.setCookie();
console.log(req.headers);
res.end(util.inspect(req.headers, null ,true));
} catch (e) { }
}).listen(1337);