cookiesToRequest

fun cookiesToRequest(cookies: <Error class: unknown class>, msg: Message)

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

cookies

a #GSList of #SoupCookie

msg

a #SoupMessage