def _setHTTPReferer():
 if conf.referer:
  debugMsg = 'setting the HTTP Referer header'
  logger.debug(debugMsg)
  conf.httpHeaders[HTTP_HEADER.REFERER] = conf.referer

def _setHTTPReferer ( ) : if conf . referer : debugMsg = 'setting the HTTP Referer header' logger . debug ( debugMsg ) conf . httpHeaders [ HTTP_HEADER . REFERER ] = conf . referer
set the http referer .