Webdavz.ResponseWebDAV 207 Multi-Status response generation.
The 207 Multi-Status response conveys per-resource status information for operations that affect multiple resources (PROPFIND, PROPPATCH, COPY, MOVE, DELETE on collections).
A multistatus response contains <response> elements, each with an <href> and one or more <propstat> elements grouping properties by their HTTP status code:
<multistatus xmlns="DAV:">
<response>
<href>/collection/file.txt</href>
<propstat>
<prop>
<displayname>file.txt</displayname>
<getcontentlength>1234</getcontentlength>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop><getetag/></prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
</multistatus>A property-status grouping: all props share the same HTTP status.
Typically a PROPFIND response has one 200 propstat for found properties and one 404 propstat for requested-but-missing properties.
A per-resource response within a multistatus.
val multistatus : response list -> stringmultistatus responses serializes a complete 207 Multi-Status XML body.
The result is ready to be sent as the response body with Content-Type: application/xml; charset=utf-8.
val propstat_ok : Webdavz__.Webdavz_xml.tree list -> propstatpropstat_ok props groups props under HTTP 200 OK.
val propstat_not_found : Webdavz__.Webdavz_xml.tree list -> propstatpropstat_not_found props groups props under HTTP 404 Not Found. Used when a client requests properties that don't exist on the resource.
prop_node (ns, name) values wraps property values in their element.
prop_node ("DAV:", "displayname") [pcdata "My Folder"]produces <displayname>My Folder</displayname>.