Https with cookie container

0 votes
asked Feb 4 by omergulzar (150 points)

Is there any way to add a cookie container like HttpWebRequest has a cookie container for handling cookies

1 Answer

0 votes
answered Feb 5 by Lukas Pokorny (101,070 points)

We plan to add support for an equivalent of CookieContainer later this year.

Until then, use Cookie request headers to specify cookies to be sent to the server, and Set-Cookie response header to retrieve cookies sent by the server. See the Wikipedia article for quick introduction, or check out the specification.