devtools/fake.py
changeset 10001 1245357b3b3e
parent 9570 14452b344d19
child 10315 0f3489d622ba
--- a/devtools/fake.py	Fri Oct 17 18:16:58 2014 +0200
+++ b/devtools/fake.py	Tue Jul 15 16:07:59 2014 +0200
@@ -65,8 +65,8 @@
         super(FakeRequest, self).__init__(*args, **kwargs)
         self._session_data = {}
 
-    def set_cookie(self, name, value, maxage=300, expires=None, secure=False):
-        super(FakeRequest, self).set_cookie(name, value, maxage, expires, secure)
+    def set_cookie(self, name, value, maxage=300, expires=None, secure=False, httponly=False):
+        super(FakeRequest, self).set_cookie(name, value, maxage, expires, secure, httponly)
         cookie = self.get_response_header('Set-Cookie')
         self._headers_in.setHeader('Cookie', cookie)