pub fn cookies_from_response(msg: &Message) -> Vec<Cookie>
Expand description

Parses @msg’s Set-Cookie response headers and returns a glib::SList of SoupCookies.

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

§msg

a #SoupMessage containing a “Set-Cookie” response header

§Returns

a #GSList of SoupCookies, which can be freed with Cookie::free().