index.js
function Accepts (req) {
  if (!(this instanceof Accepts)) {
    return new Accepts(req)
  }

  this.headers = req.headers
  this.negotiator = new Negotiator(req)
}
function Accepts (req) {
  if (!(this instanceof Accepts)) {
    return new Accepts(req)
  }

  this.headers = req.headers
  this.negotiator = new Negotiator(req)
}
function Accepts ( req ) { if ( ! ( this instanceof Accepts ) ) { return new Accepts ( req ) } this . headers = req . headers this . negotiator = new Negotiator ( req ) }
Create a new Accepts object for the given req.

@param {object} req
@public
Create a new Accepts object for the given req .