Don't cache HTTP GET requests in Zotero.Utilities.HTTP.doGet()

This commit is contained in:
Dan Stillman 2010-07-07 18:28:25 +00:00
parent 2e951139fe
commit 7ce0e9ee23

View file

@ -1087,6 +1087,9 @@ Zotero.Utilities.HTTP = new function() {
}
}
// Don't cache GET requests
xmlhttp.channel.loadFlags |= Components.interfaces.nsIRequest.LOAD_BYPASS_CACHE;
/** @ignore */
xmlhttp.onreadystatechange = function() {
_stateChange(xmlhttp, onDone, responseCharset);