mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
XML error message for invalid sync-token
This commit is contained in:
parent
13381fb829
commit
3753364fc8
2 changed files with 9 additions and 3 deletions
|
@ -842,6 +842,4 @@ class Application:
|
|||
headers = {"Content-Type": "text/xml; charset=%s" % self.encoding}
|
||||
status, xml_answer = xmlutils.report(
|
||||
base_prefix, path, xml_content, collection)
|
||||
if status == client.PRECONDITION_FAILED:
|
||||
return PRECONDITION_FAILED
|
||||
return (status, headers, self._write_xml_content(xml_answer))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue