-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
I am testing RestSharp with opera cookies test suite . It seems RestSharp do not handle set-cookie during redirection, and hence all subsequent tests fail.
let client = new RestClient()
client.CookieContainer <- new System.Net.CookieContainer ()
let req = new RestRequest("http://testsuites.opera.com/cookies/001.php", Method.GET)
let res = client.Execute(req)
if res.ErrorException <> null then
printfn "%A" res.ErrorException
else
printfn "%s" res.ContentArcticEcho