1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Return HTTP status in xmlutils.propfind

This commit is contained in:
Unrud 2016-08-12 23:34:08 +02:00
parent 8d863e52b2
commit 6515062bcd
2 changed files with 6 additions and 3 deletions

View file

@ -524,7 +524,7 @@ def propfind(path, xml_request, read_collections, write_collections, user):
path, collection, props, user, write=False)
multistatus.append(response)
return _pretty_xml(multistatus)
return client.MULTI_STATUS, _pretty_xml(multistatus)
def _propfind_response(path, item, props, user, write=False):