diff --git a/lib/request/connect.py b/lib/request/connect.py index 2e9040392..d777eb59c 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -138,6 +138,9 @@ class Connect: # Perform HTTP request headers = forgeHeaders(cookie, ua) + if conf.realTest: + headers["Referer"] = "%s://%s" % (conf.scheme, conf.hostname) + if kb.authHeader: headers["Authorization"] = kb.authHeader