minor update

This commit is contained in:
Miroslav Stampar 2010-12-24 10:07:56 +00:00
parent d9f08e4aa3
commit a09716a701

View File

@ -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