Changes between Version 1 and Version 2 of Ticket #25644, comment 2
- Timestamp:
- Oct 30, 2015, 2:32:47 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25644, comment 2
v1 v2 1 This seems easy to fix2 3 {{{#!diff4 --git a/django/http/response.py b/django/http/response.py5 index ed5c14e..cdc098f 1006446 --- a/django/http/response.py7 +++ b/django/http/response.py8 @@ -216,7 +216,7 @@ class HttpResponseBase(six.Iterator):9 10 def delete_cookie(self, key, path='/', domain=None):11 self.set_cookie(key, max_age=0, path=path, domain=domain,12 - expires='Thu, 01-Jan-1970 00:00:00 GMT')13 + expires='')14 15 # Common methods used by subclasses16 17 }}}