]> git.ipfire.org Git - thirdparty/tornado.git/commit
web: Accept all kwargs in clear_cookie 3224/head
authorBen Darnell <ben@bendarnell.com>
Sat, 28 Jan 2023 19:48:47 +0000 (19:48 +0000)
committerBen Darnell <ben@bendarnell.com>
Sat, 28 Jan 2023 19:55:33 +0000 (19:55 +0000)
commit91a54dddddae92f7f282507f4cc5c066d6833235
treed5fd0bb2529de7a02595782f205e3fa3d38cc438
parent06043625ac83622daa28d954747b16f70f26e1cd
web: Accept all kwargs in clear_cookie

In some cases it is now required to pass matching values for
samesite and secure as when the cookie was set.

clear_all_cookies is now deprecated because the name of a cookie
is no longer reliably sufficient to clear it.

Fixes #2911
tornado/web.py