Referer does not have to be static, it's already a switch (--referer) so that user can specify it manually.

This commit is contained in:
Bernardo Damele 2010-11-12 10:16:39 +00:00
parent 64b5de44a0
commit a14e4d9668

View File

@ -131,8 +131,6 @@ class Connect:
# Perform HTTP request # Perform HTTP request
headers = forgeHeaders(cookie, ua) headers = forgeHeaders(cookie, ua)
headers["Referer"] = "%s://%s" % (conf.scheme, conf.hostname)
if kb.authHeader: if kb.authHeader:
headers["Authorization"] = kb.authHeader headers["Authorization"] = kb.authHeader