Fix empty REPORT requests
This commit is contained in:
parent
b30c1d11e5
commit
217859bf5e
@ -997,7 +997,7 @@ def report(base_prefix, path, xml_request, collection):
|
|||||||
"""
|
"""
|
||||||
multistatus = ET.Element(_tag("D", "multistatus"))
|
multistatus = ET.Element(_tag("D", "multistatus"))
|
||||||
if xml_request is None:
|
if xml_request is None:
|
||||||
return multistatus
|
return client.MULTI_STATUS, multistatus
|
||||||
root = xml_request
|
root = xml_request
|
||||||
if root.tag in (
|
if root.tag in (
|
||||||
_tag("D", "principal-search-property-set"),
|
_tag("D", "principal-search-property-set"),
|
||||||
|
Loading…
Reference in New Issue
Block a user