index.js
function clearHeaders (res) {
  var headers = getHeaderNames(res)

  for (var i = 0; i < headers.length; i++) {
    res.removeHeader(headers[i])
  }
}
function clearHeaders (res) {
  var headers = getHeaderNames(res)

  for (var i = 0; i < headers.length; i++) {
    res.removeHeader(headers[i])
  }
}
function clearHeaders ( res ) { var headers = getHeaderNames ( res ) for ( var i = 0 ; i < headers . length ; i ++ ) { res . removeHeader ( headers [ i ] ) } }
Clear all headers from a response.

@param {object} res
@private
Clear all headers from a response .