lib/render.js
function getExtension(req) {
  return _.get(req, 'params.ext', '') ? req.params.ext.toLowerCase() : renderers.default;
}
function getExtension(req) {
  return _.get(req, 'params.ext', '') ? req.params.ext.toLowerCase() : renderers.default;
}
function getExtension ( req ) { return _ . get ( req , 'params.ext' , '' ) ? req . params . ext . toLowerCase ( ) : renderers . default ; }
Check the renderers for the request extension. If the
request  does not have an extension, grab the default.

@param  {Object} req
@return {String}
Check the renderers for the request extension . If the request does not have an extension grab the default .