1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

Use correct HTTP status for WebDAV precondition

This commit is contained in:
Unrud 2018-05-04 22:12:30 +02:00
parent a6b1219ba5
commit f815f1be7f
2 changed files with 3 additions and 3 deletions

View file

@ -1155,7 +1155,7 @@ class BaseRequestsMixIn:
</prop>
%s
</sync-collection>""" % sync_token_xml)
if sync_token and status == 412:
if sync_token and status == 409:
return None, None
assert status == 207
xml = ET.fromstring(answer)