cookies_to_request


Description:


public void cookies_to_request (SList<Cookie> cookies, 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:

cookies

a SList of Cookie

msg

a Message


Namespace: Soup
Package: libsoup-3.0