devtools/fake.py
changeset 3653 ef71abb1e77b
parent 3652 9fba30110377
child 3675 5d143781a604
--- a/devtools/fake.py	Tue Oct 13 12:03:24 2009 +0200
+++ b/devtools/fake.py	Tue Oct 13 12:04:10 2009 +0200
@@ -98,7 +98,7 @@
         """
         return self._headers.get(header, default)
 
-    def set_cookie(self, cookie, key, maxage=300):
+    def set_cookie(self, cookie, key, maxage=300, expires=None):
         """set / update a cookie key
 
         by default, cookie will be available for the next 5 minutes