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

Fails parsing Seafile responses #109

Closed
perry-mitchell opened this issue Oct 3, 2018 · 0 comments
Closed

Fails parsing Seafile responses #109

perry-mitchell opened this issue Oct 3, 2018 · 0 comments

Comments

@perry-mitchell
Copy link
Owner

Seafile PROPFIND requests are for some reason not parseable:

<?xml version='1.0' encoding='UTF-8'?>
<ns0:multistatus xmlns:ns0="DAV:">
    <ns0:response>
        <ns0:href>/seafdav/</ns0:href>
        <ns0:propstat>
            <ns0:prop>
                <ns0:resourcetype>
                    <ns0:collection />
                </ns0:resourcetype>
                <ns0:displayname />
                <ns0:lockdiscovery />
                <ns0:supportedlock>
                    <ns0:lockentry>
                        <ns0:lockscope>
                            <ns0:exclusive />
                        </ns0:lockscope>
                        <ns0:locktype>
                            <ns0:write />
                        </ns0:locktype>
                    </ns0:lockentry>
                    <ns0:lockentry>
                        <ns0:lockscope>
                            <ns0:shared />
                        </ns0:lockscope>
                        <ns0:locktype>
                            <ns0:write />
                        </ns0:locktype>
                    </ns0:lockentry>
                </ns0:supportedlock>
            </ns0:prop>
            <ns0:status>HTTP/1.1 200 OK</ns0:status>
        </ns0:propstat>
    </ns0:response>
    <ns0:response>
        <ns0:href>/seafdav/Ma%20biblioth%C3%A8que/</ns0:href>
        <ns0:propstat>
            <ns0:prop>
                <ns0:resourcetype>
                    <ns0:collection />
                </ns0:resourcetype>
                <ns0:displayname>Ma bibliothèque</ns0:displayname>
                <ns0:getetag>2920f985ebc6692632c7c3ab46b3919556239d37</ns0:getetag>
                <ns0:lockdiscovery />
                <ns0:supportedlock>
                    <ns0:lockentry>
                        <ns0:lockscope>
                            <ns0:exclusive />
                        </ns0:lockscope>
                        <ns0:locktype>
                            <ns0:write />
                        </ns0:locktype>
                    </ns0:lockentry>
                    <ns0:lockentry>
                        <ns0:lockscope>
                            <ns0:shared />
                        </ns0:lockscope>
                        <ns0:locktype>
                            <ns0:write />
                        </ns0:locktype>
                    </ns0:lockentry>
                </ns0:supportedlock>
            </ns0:prop>
            <ns0:status>HTTP/1.1 200 OK</ns0:status>
        </ns0:propstat>
    </ns0:response>
</ns0:multistatus>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant