def _setHTTPHost():
 if conf.host:
  debugMsg = 'setting the HTTP Host header'
  logger.debug(debugMsg)
  conf.httpHeaders.append((HTTP_HEADER.HOST, conf.host))

def _setHTTPHost ( ) : if conf . host : debugMsg = 'setting the HTTP Host header' logger . debug ( debugMsg ) conf . httpHeaders . append ( ( HTTP_HEADER . HOST , conf . host ) )
set the http host .