Responses in Express

Which of this request-level information cannot be exposed using the property res.locals in the below given code snippet?

app.use(function(req, res, next){ 
 res.locals.user = req.user; 
 res.locals.authenticated = ! req.user.anonymous; 
 next(); 
});
Options
  1. request path name
  2. authenticated user
  3. user settings
  4. download path name

Related Posts