Android website response incorrect

I am making a simple HttpGet and the answer is wrong. I did this also in the browser, and there the answer is fine. I checked that the url is the same.

Than I thought it could be some kind of caching, so I set the headers:

httpGet.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); 

At first it worked, but now again it gives me the same old result. So it was in iOS, but after reinstalling it worked.

Does Android support queries at a different level?

How to disable caching?

+4
source share

All Articles