summaryrefslogtreecommitdiffstats
path: root/pyload/network/CookieJar.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/network/CookieJar.py')
-rw-r--r--pyload/network/CookieJar.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyload/network/CookieJar.py b/pyload/network/CookieJar.py
index a2b302776..35d7fa6ef 100644
--- a/pyload/network/CookieJar.py
+++ b/pyload/network/CookieJar.py
@@ -21,6 +21,7 @@ class CookieJar(Cookie.SimpleCookie):
def getCookie(self, name):
return self[name].value
+
def setCookie(self, domain, name, value, path="/", exp=None, secure="FALSE"):
self[name] = value
self[name]["domain"] = domain