1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-23 17:48:30 +00:00

Rename _write_xml_content to _xml_response

This commit is contained in:
Unrud 2020-09-14 21:17:18 +02:00
parent 80e8750c8a
commit 42ad18bc84
5 changed files with 6 additions and 7 deletions

View file

@ -68,4 +68,4 @@ class ApplicationDeleteMixin:
xml_answer = xml_delete(
base_prefix, path, item.collection, item.href)
headers = {"Content-Type": "text/xml; charset=%s" % self._encoding}
return client.OK, headers, self._write_xml_content(xml_answer)
return client.OK, headers, self._xml_response(xml_answer)