You can use [req.accepts](http://expressjs.com/api.html#req.accepts) as a shortcut here