Changes between Version 1 and Version 2 of Ticket #25644, comment 2


Ignore:
Timestamp:
Oct 30, 2015, 2:32:47 PM (9 years ago)
Author:
Mariusz Felisiak

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25644, comment 2

    v1 v2  
    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 }}}
Back to Top