disable http cache

This commit is contained in:
Athou
2013-04-08 14:45:32 +02:00
parent 4f685a9ffc
commit 22408abc50

View File

@@ -30,6 +30,8 @@ public class HttpGetter {
try {
HttpGet httpget = new HttpGet(url);
httpget.addHeader("Pragma", "No-cache");
httpget.addHeader("Cache-Control", "no-cache");
HttpResponse response = httpclient.execute(httpget);
HttpEntity entity = response.getEntity();
if (entity != null) {