Possible to allow HTTP 204 response for options request in webdav server check?

Hi,

I am trying to configure webdav sync with the windows client (version 6.0.18), but I am getting the following error:

An unknown error occurred.

Please check your file sync settings or contact your WebDAV server administrator.

HTTP 204

I tried to investigate and noticed that the checkServer method of Zotero.Sync.Storage.Mode.WebDAV.prototype performs an initial OPTIONS request to test if the server has WebDAV enabled and it accepts only 200 and 404 as success codes. However, my WebDAV server (Owncloud Infinite Scale) responds with a 204 "no content" code to OPTIONS requests for existing resources. Would it be possible to add 204 to the success codes? I would be happy to create a pull request, if that helps.
Sign In or Register to comment.