cookiesToRequest

fnvoid cookiesToRequest(soup.cookie.Cookie[] cookies, soup.message.Message msg)

Adds the name and value of each cookie in cookies to msg's "Cookie" request.

If msg already has a "Cookie" request header, these cookies will be appended to the cookies already present. Be careful that you do not append the same cookies twice, eg, when requeuing a message.

Parameters

cookiesa #GSList of #SoupCookie
msga #SoupMessage