summaryrefslogtreecommitdiffstats
path: root/module/network/HTTPBase.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/HTTPBase.py')
-rw-r--r--module/network/HTTPBase.py4
1 files changed, 2 insertions, 2 deletions
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: