index.js
function setHeadersFromObject (res, headers) {
  var keys = Object.keys(headers)
  for (var i = 0; i < keys.length; i++) {
    var k = keys[i]
    if (k) res.setHeader(k, headers[k])
  }
}
function setHeadersFromObject (res, headers) {
  var keys = Object.keys(headers)
  for (var i = 0; i < keys.length; i++) {
    var k = keys[i]
    if (k) res.setHeader(k, headers[k])
  }
}
function setHeadersFromObject ( res , headers ) { var keys = Object . keys ( headers ) for ( var i = 0 ; i < keys . length ; i ++ ) { var k = keys [ i ] if ( k ) res . setHeader ( k , headers [ k ] ) } }
Set headers contained in object on the response object.

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