mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Cosmetics
This commit is contained in:
parent
d3b90506f5
commit
e63a6e0c85
4 changed files with 9 additions and 6 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue