www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit cba0c0ad515cfd02cd2d8f240e5da875c3a05c03
parent 4bdfa5f30b02e4a79e3461312251183850bf4033
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 13 Dec 2010 18:20:06 +0000

Replace WebDAV HEAD requests with GET requests


Diffstat:
Mchrome/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 @@ -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);