Don't cache HTTP GET requests in Zotero.Utilities.HTTP.doGet()
This commit is contained in:
parent
2e951139fe
commit
7ce0e9ee23
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue