Replace WebDAV HEAD requests with GET requests
This commit is contained in:
parent
4bdfa5f30b
commit
cba0c0ad51
1 changed files with 2 additions and 2 deletions
|
@ -728,7 +728,7 @@ Zotero.Sync.Storage.Session.WebDAV.prototype.getLastSyncTime = function (callbac
|
|||
var uri = this.rootURI;
|
||||
var successFileURI = uri.clone();
|
||||
successFileURI.spec += "lastsync";
|
||||
Zotero.HTTP.doHead(successFileURI, function (req) {
|
||||
Zotero.HTTP.doGet(successFileURI, function (req) {
|
||||
var ts = undefined;
|
||||
try {
|
||||
if (req.responseText) {
|
||||
|
@ -926,7 +926,7 @@ Zotero.Sync.Storage.Session.WebDAV.prototype.checkServer = function (callback) {
|
|||
case 200:
|
||||
case 201:
|
||||
case 204:
|
||||
Zotero.HTTP.doHead(
|
||||
Zotero.HTTP.doGet(
|
||||
testFileURI,
|
||||
function (req) {
|
||||
Zotero.debug(req.responseText);
|
||||
|
|
Loading…
Reference in a new issue