diff options
-rw-r--r-- | docs/news.txt | 3 | ||||
-rw-r--r-- | paste/wsgiwrappers.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/news.txt b/docs/news.txt index 4973cc6..78c8f12 100644 --- a/docs/news.txt +++ b/docs/news.txt @@ -60,6 +60,9 @@ svn trunk * Make :mod:`paste.debug.prints` compatible with App Engine. +* Fix the ``domain`` keyword in + :method:`paste.wsgiwrappers.WSGIResponse.delete_cookie`. + 1.6.1 ----- diff --git a/paste/wsgiwrappers.py b/paste/wsgiwrappers.py index 8368502..a4949d1 100644 --- a/paste/wsgiwrappers.py +++ b/paste/wsgiwrappers.py @@ -398,7 +398,7 @@ class WSGIResponse(object): if path is not None: self.cookies[key]['path'] = path if domain is not None: - self.cookies[key]['domain'] = path + self.cookies[key]['domain'] = domain self.cookies[key]['expires'] = 0 self.cookies[key]['max-age'] = 0 |