After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 640159 - [souphttpsrc] add support to load cookies from a cookiejar file
[souphttpsrc] add support to load cookies from a cookiejar file
Status: RESOLVED DUPLICATE of bug 751371
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-21 10:37 UTC by Julien Isorce
Modified: 2017-03-16 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add a 'cookiejar-file-name' property to load cookies from a cookiejar file (3.37 KB, text/plain)
2011-01-21 10:37 UTC, Julien Isorce
  Details
path to add support to load cookies from a cookiejar file (4.89 KB, patch)
2011-12-20 14:29 UTC, Julien Isorce
none Details | Review

Description Julien Isorce 2011-01-21 10:37:48 UTC
Created attachment 178920 [details]
add a 'cookiejar-file-name' property to load cookies from a cookiejar file

souphttpsrc should be able to load cookies from a file.
Comment 1 David Schleef 2011-06-01 01:55:30 UTC
You want to send all the cookies in the jar?  That seems... inappropriate.
Comment 2 Julien Isorce 2011-06-01 09:48:30 UTC
You're right. By default it should send the first cookie that applies to the 'location' (of souphttpsrc) maybe using soup_cookie_applies_to_uri (or directly using soup_cookie_jar_get_cookies)
Comment 3 Julien Isorce 2011-12-20 14:29:40 UTC
Created attachment 203955 [details] [review]
path to add support to load cookies from a  cookiejar file

reformat patch to keep something applicable
Comment 4 Dan Winship 2013-09-29 22:08:47 UTC
you don't need to figure out what cookies to send yourself. just add the cookie jar to the session with soup_session_add_feature(), and then it will automatically deal with sending the right cookies for you (and updating them from the server response, and saving them to disk, etc)
Comment 5 Sebastian Dröge (slomo) 2017-03-16 13:38:21 UTC
Let's close this as duplicate of bug #751371, which is about a generic cookie jar interface. In-memory cookie jar and sharing in the same pipeline is also implemented in bug #780140 (and it also allows the application to create its own SoupSession with whatever cookie jar it wants).

*** This bug has been marked as a duplicate of bug 751371 ***