From 3425f84f8ba4aa1fa3d124bb0f1ebf5e9c1119df Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 22 Dec 2010 14:59:28 +0100 Subject: fixed getURL --- module/network/HTTPBase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/network/HTTPBase.py') diff --git a/module/network/HTTPBase.py b/module/network/HTTPBase.py index fead2f4ed..4fff15335 100644 --- a/module/network/HTTPBase.py +++ b/module/network/HTTPBase.py @@ -311,7 +311,7 @@ class HTTPBase(): opener.addheaders[0] = ("User-Agent", self.userAgent) return opener - def createRequest(self, url, get={}, post={}, referer=None, cookies=True, customHeaders={}): + def createRequest(self, url, get={}, post={}, referer=None, customHeaders={}): if get: if isinstance(get, dict): get = urlencode(get) @@ -337,7 +337,7 @@ class HTTPBase(): return req def getResponse(self, url, get={}, post={}, referer=None, cookies=True, customHeaders={}): - req = self.createRequest(url, get, post, referer, cookies, customHeaders) + req = self.createRequest(url, get, post, referer, customHeaders) opener = self.createOpener(cookies) if self.debug: -- cgit v1.2.3