Skip to content

Made Silverlight and Windows Phone clients send Cookies on request #215

Merged
merged 1 commit into from Feb 24, 2012

2 participants

@PedroLamas

I used AddCookie() method to add cookies to my RestRequest instance, but using Fiddler I managed to see that no cookies where being sent...

Apparently, this is because of adding the Domain to the System.Net.Cookie instance; if you just don't add the Domain on the Silverlight and Windows Phone version of RestSharp, all works fine, and that is just what I did.
I don't think this is even required because the CookieContainer already has information regarding the host address.

@PedroLamas

Sorry if I seem a bit picky, but I was wondering if you'll be merging this pull-request some time soon... :)

@ayoung ayoung merged commit 9b7fde9 into restsharp:master Feb 24, 2012
@ayoung
ayoung commented Feb 24, 2012

Sorry took so long. Thanks for this.

@PedroLamas

No problem, thank you Andrew! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.