From cba0c0ad515cfd02cd2d8f240e5da875c3a05c03 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 13 Dec 2010 18:20:06 +0000 Subject: [PATCH] Replace WebDAV HEAD requests with GET requests --- chrome/content/zotero/xpcom/storage/webdav.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/storage/webdav.js b/chrome/content/zotero/xpcom/storage/webdav.js index d06b19ad9..faa1449d5 100644 --- a/chrome/content/zotero/xpcom/storage/webdav.js +++ b/chrome/content/zotero/xpcom/storage/webdav.js @@ -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);