I am using RestSharp in my Windows Phone 7.1 project.
My problem is that RestSharp always stores cache data.
Example:
The first time I submit a request, it correctly returns the data. After some delete operations, I will send this request again, but the answer seems the same as the first time, nothing has changed.
If I stop debugging and press F5 to start again, it works fine as expected.
I also tried request.AddParameter("cache-control", "no-cache", ParameterType.HttpHeader);and out of luck.
How can I fix this problem?
source
share