13 lines
435 B
JavaScript
13 lines
435 B
JavaScript
// Body of the PROPFIND (Depth: 1) sent to list a folder. Asking for the four
|
|
// properties we actually read keeps the answer small: Nextcloud returns every
|
|
// property it knows when no <d:prop> is given.
|
|
export const PROPFIND_BODY = `<?xml version="1.0" encoding="utf-8"?>
|
|
<d:propfind xmlns:d="DAV:">
|
|
<d:prop>
|
|
<d:displayname/>
|
|
<d:getcontentlength/>
|
|
<d:getlastmodified/>
|
|
<d:resourcetype/>
|
|
</d:prop>
|
|
</d:propfind>
|
|
`
|