set_cookie
Description:
Adds cookie to this, exactly as though it had appeared in a Set-Cookie header returned from a
request to uri.
Keep in mind that if the [enum@CookieJarAcceptPolicy] set is either soup_cookie_jar_accept_no_third_party or soup_cookie_jar_accept_grandfathered_third_party you'll need to use [ method@CookieJar.set_cookie_with_first_party], otherwise the jar will have no way of knowing if the cookie is being set by a third party or not.
Parameters:
| this | |
| uri |
the URI setting the cookie |
| cookie |
the stringified cookie to set |