cookiesFromResponse

Parses msg's Set-Cookie response headers and returns a glib.slist.SList of soup.cookie.Cookies.

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

Parameters

msg soup.message.Message

a #SoupMessage containing a "Set-Cookie" response header

Return Value

Type: soup.cookie.Cookie[]

a #GSList of soup.cookie.Cookies, which can be freed with soup.cookie.Cookie.free.