Hi All,
In the NewsFox extension I use next lines to download feed(s):
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("get", feed.url);
xmlhttp.setRequestHeader("User-Agent", "Mozilla/5.0 NewsFox/0.3.4");
xmlhttp.overrideMimeType("application/xml");
xmlhttp.onload = function() { checkFeed(index, xmlhttp.responseXML); }
xmlhttp.send(null);
Adding the next line before send doesn't help to avoid the use of Firefox's
cache:
xmlhttp.channel.loadFlags =
Components.interfaces.nsICachingChannel.LOAD_BYPASS_CACHE;
And that causes problems with some feeds. Does anybody know how can I bypass
the cache? Similarly tp the behaviour of the browser when somebody pressed
Shift+Reload.
Thanks,
Andrey
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners