CookieJar.addCookie

void addCookie(soup.cookie.Cookie cookie)

Adds cookie to jar.

Emits the signalCookieJar::changed signal if we are modifying an existing cookie or adding a valid new cookie ('valid' means that the cookie's expire date is not in the past).

cookie will be 'stolen' by the jar, so don't free it afterwards.

Parameters

cookiea #SoupCookie