parse_propfind: make public

This commit is contained in:
Lennart
2024-03-14 13:00:52 +01:00
parent f6af4c787c
commit 8ccddb635c

View File

@@ -37,7 +37,7 @@ impl actix_web::error::ResponseError for Error {
} }
} }
fn parse_propfind(body: &str) -> Result<Vec<&str>, Error> { pub fn parse_propfind(body: &str) -> Result<Vec<&str>, Error> {
if body.is_empty() { if body.is_empty() {
// if body is empty, allprops must be returned (RFC 4918) // if body is empty, allprops must be returned (RFC 4918)
return Ok(vec!["allprops"]); return Ok(vec!["allprops"]);