Function libdav::xmlutils::check_multistatus
source · pub fn check_multistatus(root: Node<'_, '_>) -> Result<(), WebDavError>Expand description
Check all the statuses in a multistatus response.
§Errors
-
If any of the
<DAV:status>nodes is missing the status text, returnsWebDavError::InvalidResponse. -
If the text inside a
<DAV:status>node is not a valid status line, returnsWebDavError::InvalidStatusCode. -
If any of the statuses are non-success, returns
WebDavError::BadStatusCode.