Sorry, cookie support is currently not in the Casablanca APIs. I know, it seems pretty basic...
That said, cookies are passed as headers (in both directions), and you should be able to handled them yourself by examining the headers of incoming responses and setting headers of outgoing requests. Instead of calling request() with the method and request uri directly, you will need to create a http_request object, add the set-cookie header, and use the request() overload that takes a http_request instance.
I believe RFC 2109 should provide all the information you need.
Niklas
That said, cookies are passed as headers (in both directions), and you should be able to handled them yourself by examining the headers of incoming responses and setting headers of outgoing requests. Instead of calling request() with the method and request uri directly, you will need to create a http_request object, add the set-cookie header, and use the request() overload that takes a http_request instance.
I believe RFC 2109 should provide all the information you need.
Niklas