diff options
-rw-r--r-- | cgi/framework.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/framework.py b/cgi/framework.py index 5f4f4f4..651814c 100644 --- a/cgi/framework.py +++ b/cgi/framework.py @@ -380,7 +380,7 @@ def deleteCookie(self, key): else: self._newcookies[key]["path"] = "/" self._newcookies[key]["domain"] = self._cookies[key]["domain"] - self._newcookies[key]["max-age"] = 0 + self._newcookies[key]["expires"] = "Thu, 01 Jan 1970 00:00:00 GMT" def elapsed_time(seconds, suffixes=['y','w','d','h','m','s'], add_s=False, separator=' '): """ |