]> git.ipfire.org Git - thirdparty/tornado.git/commit
web: List all set_cookie arguments instead of kwargs
authorBen Darnell <ben@bendarnell.com>
Sat, 28 Jan 2023 19:10:16 +0000 (19:10 +0000)
committerBen Darnell <ben@bendarnell.com>
Sat, 28 Jan 2023 19:10:16 +0000 (19:10 +0000)
commit06043625ac83622daa28d954747b16f70f26e1cd
tree26198e194a93c40719269fec8656113f4f0a48fb
parent49bbd357274d53a62864acb8ef6d2dcf4782873d
web: List all set_cookie arguments instead of kwargs

Multiple arguments needed special cases anyway, so it's better to
just be explicit about what's supported.

set_signed_cookie still uses kwarg forwarding since we don't need
to worry about the special cases at this level and using
explicit arguments would involve duplicating defaults in multiple
places.
tornado/web.py