From 073facffe63ddb9f73106bec4266d4783bb32132 Mon Sep 17 00:00:00 2001 From: jonathan vanasco Date: Wed, 11 Apr 2018 20:24:45 -0400 Subject: updated unset_cookie --- pyramid/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/interfaces.py b/pyramid/interfaces.py index 765a63ada..bedfb60b3 100644 --- a/pyramid/interfaces.py +++ b/pyramid/interfaces.py @@ -180,7 +180,7 @@ class IResponse(Interface): """Gets and sets and deletes the Date header. For more information on Date see RFC 2616 section 14.18. Converts using HTTP date.""") - def delete_cookie(key, path='/', domain=None): + def delete_cookie(name, path='/', domain=None): """ Delete a cookie from the client. Note that path and domain must match how the cookie was originally set. This sets the cookie to the empty string, and max_age=0 so that it should expire immediately. """ -- cgit v1.2.3