Bug 677923 - Add soup_cookie_jar_set_cookie_with_first_party() alternative that takes...
authorChristophe Dumez <christophe.dumez@intel.com>
Tue, 12 Jun 2012 08:00:37 +0000 (11:00 +0300)
committerChristophe Dumez <christophe.dumez@intel.com>
Tue, 12 Jun 2012 16:55:36 +0000 (19:55 +0300)
commit786cb47cd55fed9529b8defe009790b4d8471859
tree06656252108a46642a9d5a751ae90070e4091277
parentc26f6718983d2ba5103f464497220ca1c51dd70e
Bug 677923 - Add soup_cookie_jar_set_cookie_with_first_party() alternative that takes a SoupCookie in argument

Currently, the only way to add a cookie while checking first_party is to use
soup_cookie_jar_set_cookie_with_first_party(). However, this function takes an
unparsed cookie in argument.

In the event the client has already parsed the cookie (e.g. to do some
pre-processing), it would be useful to have an alternative to
soup_cookie_jar_set_cookie_with_first_party() which takes a parsed SoupCookie
in argument. This would be more efficient.
docs/reference/libsoup-2.4-sections.txt
libsoup/soup-cookie-jar.c
libsoup/soup-cookie-jar.h