Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Apache #43

Open
Etherous opened this issue Mar 2, 2022 · 1 comment
Open

Does not work with Apache #43

Etherous opened this issue Mar 2, 2022 · 1 comment

Comments

@Etherous
Copy link

Etherous commented Mar 2, 2022

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

@skjiisa
Copy link
Owner

skjiisa commented Mar 2, 2022

Thanks for the info. I updated the readme to specify that it has only been tested with Nextcloud. I’ll take note of this compatibility issue for when I have more time to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants