WebDAV-Swift icon indicating copy to clipboard operation
WebDAV-Swift copied to clipboard

Does not work with Apache

Open Etherous opened this issue 2 years ago • 1 comments

Unfortunately it seems this library is not compatible with Apache DAV. First thing I noticed while debugging this is the "Depth" header is not included. This header is required by the WebDAV standard and, if not included, Apache will not list directory contents. Secondly, also when listing directory contents, it seems that after receiving the XML response, the process of converting the entries into WebDAVFile instances is failing to correctly parse the response. I stopped trying to debug here, so there are probably additional compatibility problems. I'm assuming this library was specifically designed to interface with OwnCloud/NextCloud, but that is not mentioned in the documentation that I have noticed. If you don't intend to support other implementations of WebDAV, please say so in the Readme

Etherous avatar Mar 02 '22 18:03 Etherous