mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 15:12:23 +00:00
parse_propfind: make public
This commit is contained in:
@@ -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"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user