cookiesFromRequest

Parses msg's Cookie request header and returns a glib.slist.SList of soup.cookie.Cookies.

As the "Cookie" header, unlike "Set-Cookie", only contains cookie names and values, none of the other #SoupCookie fields will be filled in. (Thus, you can't generally pass a cookie returned from this method directly to funccookies_to_response.)

Parameters

msg soup.message.Message

a #SoupMessage containing a "Cookie" request header

Return Value

Type: soup.cookie.Cookie[]

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