index.js
function shouldCompress (req, res) {
  var type = res.getHeader('Content-Type')

  if (type === undefined || !compressible(type)) {
    debug('%s not compressible', type)
    return false
  }

  return true
}
function shouldCompress (req, res) {
  var type = res.getHeader('Content-Type')

  if (type === undefined || !compressible(type)) {
    debug('%s not compressible', type)
    return false
  }

  return true
}
function shouldCompress ( req , res ) { var type = res . getHeader ( 'Content-Type' ) if ( type === undefined || ! compressible ( type ) ) { debug ( '%s not compressible' , type ) return false } return true }
Default filter function.
@private
Default filter function .