index.js
function setHeadersFromArray (res, headers) {
  for (var i = 0; i < headers.length; i++) {
    res.setHeader(headers[i][0], headers[i][1])
  }
}
function setHeadersFromArray (res, headers) {
  for (var i = 0; i < headers.length; i++) {
    res.setHeader(headers[i][0], headers[i][1])
  }
}
function setHeadersFromArray ( res , headers ) { for ( var i = 0 ; i < headers . length ; i ++ ) { res . setHeader ( headers [ i ] [ 0 ] , headers [ i ] [ 1 ] ) } }
Set headers contained in array on the response object.

@param {object} res
@param {array} headers
@private
Set headers contained in array on the response object .