Cookie.equal

Tests if cookie1 and cookie2 are equal.

Note that currently, this does not check that the cookie domains match. This may change in the future.

class Cookie
bool
equal

Parameters

cookie2 soup.cookie.Cookie

a #SoupCookie

Return Value

Type: bool

whether the cookies are equal.