Adds cookie to jar, exactly as though it had appeared in a Set-Cookie header returned from a request to uri.
Keep in mind that if the enumCookieJarAcceptPolicy set is either soup.types.CookieJarAcceptPolicy.NoThirdParty or soup.types.CookieJarAcceptPolicy.GrandfatheredThirdParty you'll need to use soup.cookie_jar.CookieJar.setCookieWithFirstParty, otherwise the jar will have no way of knowing if the cookie is being set by a third party or not.
the URI setting the cookie
the stringified cookie to set
Adds cookie to jar, exactly as though it had appeared in a Set-Cookie header returned from a request to uri.
Keep in mind that if the enumCookieJarAcceptPolicy set is either soup.types.CookieJarAcceptPolicy.NoThirdParty or soup.types.CookieJarAcceptPolicy.GrandfatheredThirdParty you'll need to use soup.cookie_jar.CookieJar.setCookieWithFirstParty, otherwise the jar will have no way of knowing if the cookie is being set by a third party or not.