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:
parent
a6b1219ba5
commit
f815f1be7f
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue