cookies_from_response


Description:


public SList<Cookie> cookies_from_response (Message msg)

Parses msg's Set-Cookie response headers and returns a [struct@GLib.

SList] of `SoupCookie`s.

Cookies that do not specify "path" or "domain" attributes will have their values defaulted from msg.

Parameters:

msg

a Message containing a "Set-Cookie" response header

Returns:

a SList of `SoupCookie`s, which can be freed with [method@Cookie.free].


Namespace: Soup
Package: libsoup-3.0