docs: function acceptParser(accepts) {
      var acceptable = accepts;
  
      if (!Array.isArray(acceptable)) {
          acceptable = [acceptable];
      }
      assert.arrayOfString(acceptable, 'acceptable');
  
      acceptable = acceptable.filter(function (a) {
          return (a);
      }).map(function (a) {
              return ((a.indexOf('/') === -1) ? mime.lookup(a) : a);
          }).filter(function (a) {
              return (a);
          });
  
      var e = new NotAcceptableError('Server accepts: ' + acceptable.join());
  
      function parseAccept(req, res, next) {
          if (req.accepts(acceptable)) {
              next();
              return;
          }
  
          res.json(e);
          next(false);
      }
  
      return (parseAccept);
  }