mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
disable http cache
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user