From a14e4d96684a08835972bd56f15aa08c646943e5 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Fri, 12 Nov 2010 10:16:39 +0000 Subject: [PATCH] Referer does not have to be static, it's already a switch (--referer) so that user can specify it manually. --- lib/request/connect.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index fafe1e768..36bf11c80 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -131,8 +131,6 @@ class Connect: # Perform HTTP request headers = forgeHeaders(cookie, ua) - headers["Referer"] = "%s://%s" % (conf.scheme, conf.hostname) - if kb.authHeader: headers["Authorization"] = kb.authHeader