diff --git a/lib/core/option.py b/lib/core/option.py index 4cef4a158..119f1e1a6 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1032,6 +1032,12 @@ def __setHTTPReferer(): conf.httpHeaders.append(("Referer", conf.referer)) + elif conf.level >= 3: + debugMsg = "setting the default HTTP Referer header" + logger.debug(debugMsg) + + conf.httpHeaders.append(("Referer", conf.url)) + def __setHTTPCookies(): """ Set the HTTP Cookie header