Changes between Initial Version and Version 1 of Ticket #25644, comment 2
- Timestamp:
- Oct 30, 2015, 2:32:10 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25644, comment 2
initial v1 1 This seems easy to fix 2 3 {{{#!diff 4 --git a/django/http/response.py b/django/http/response.py 5 index ed5c14e..cdc098f 100644 6 --- a/django/http/response.py 7 +++ b/django/http/response.py 8 @@ -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 subclasses 16 17 }}}