'Deletes all the cookies the user sent with this request.
See `clear_cookie` for more information on the path and domain
parameters.
Similar to `set_cookie`, the effect of this method will not be
seen until the following request.
.. versionchanged:: 3.2
Added the ``path`` and ``domain`` parameters.'

def clear_all_cookies(self, path='/', domain=None):

    for name in self.request.cookies:
        self.clear_cookie(name, path=path, domain=domain)
