mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Fix empty REPORT requests
This commit is contained in:
parent
b30c1d11e5
commit
217859bf5e
1 changed files with 1 additions and 1 deletions
|
@ -997,7 +997,7 @@ def report(base_prefix, path, xml_request, collection):
|
|||
"""
|
||||
multistatus = ET.Element(_tag("D", "multistatus"))
|
||||
if xml_request is None:
|
||||
return multistatus
|
||||
return client.MULTI_STATUS, multistatus
|
||||
root = xml_request
|
||||
if root.tag in (
|
||||
_tag("D", "principal-search-property-set"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue