mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 15:12:23 +00:00
Add status code to multistatus element
This commit is contained in:
@@ -106,6 +106,7 @@ impl<R: Resource> HandlePropfind for R {
|
||||
prop: TagList::from(props),
|
||||
status: format!("HTTP/1.1 {}", StatusCode::OK),
|
||||
})],
|
||||
..Default::default()
|
||||
});
|
||||
}
|
||||
if props.contains(&"allprop") {
|
||||
@@ -155,6 +156,7 @@ impl<R: Resource> HandlePropfind for R {
|
||||
Ok(ResponseElement {
|
||||
href: path,
|
||||
propstat: propstats,
|
||||
..Default::default()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user