lib/modules/url.js
function setHost(uri) {
  if (uri.auth || uri.hostname || uri.port) {
    uri.host = '';
    if (uri.auth) uri.host += uri.auth + '@';
    if (uri.hostname) uri.host += uri.hostname;
    if (uri.port) uri.host += ':' + uri.port;
  }
}
function setHost(uri) {
  if (uri.auth || uri.hostname || uri.port) {
    uri.host = '';
    if (uri.auth) uri.host += uri.auth + '@';
    if (uri.hostname) uri.host += uri.hostname;
    if (uri.port) uri.host += ':' + uri.port;
  }
}
function setHost ( uri ) { if ( uri . auth || uri . hostname || uri . port ) { uri . host = '' ; if ( uri . auth ) uri . host += uri . auth + '@' ; if ( uri . hostname ) uri . host += uri . hostname ; if ( uri . port ) uri . host += ':' + uri . port ; } }
construct host property
construct host property