mirror of https://github.com/keeweb/keeweb.git
fix #344: prevent caching WebDAV requests
This commit is contained in:
parent
d74bc86b29
commit
d07de9c098
|
@ -187,6 +187,9 @@ var StorageWebDav = StorageBase.extend({
|
|||
xhr.setRequestHeader(header, value);
|
||||
});
|
||||
}
|
||||
if (['GET', 'HEAD'].indexOf(config.method) >= 0) {
|
||||
xhr.setRequestHeader('Cache-Control', 'no-cache');
|
||||
}
|
||||
if (config.data) {
|
||||
var blob = new Blob([config.data], {type: 'application/octet-stream'});
|
||||
xhr.send(blob);
|
||||
|
|
|
@ -2,6 +2,7 @@ Release notes
|
|||
-------------
|
||||
##### v1.3.2 (WIP)
|
||||
`-` fix #351: error alert on power shutdown
|
||||
`-` fix #344: prevent caching WebDAV requests
|
||||
|
||||
##### v1.3.1 (2016-09-02)
|
||||
`-` fix #337: storage sync error
|
||||
|
|
Loading…
Reference in New Issue