1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

Cosmetics

This commit is contained in:
Unrud 2020-05-24 13:19:30 +02:00
parent d3b90506f5
commit e63a6e0c85
4 changed files with 9 additions and 6 deletions

View file

@ -349,7 +349,7 @@ class Application(
xml_declaration=True)
return f.getvalue()
def _webdav_error_response(self, human_tag, status=client.CONFLICT):
def _webdav_error_response(self, status, human_tag):
"""Generate XML error response."""
headers = {"Content-Type": "text/xml; charset=%s" % self._encoding}
content = self._write_xml_content(xmlutils.webdav_error(human_tag))