Browse Source

strict_preconditions: new config option

Peter Bieringer 4 tháng trước cách đây
mục cha
commit
8a53939fae
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      radicale/config.py

+ 4 - 0
radicale/config.py

@@ -430,6 +430,10 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
             "value": "",
             "help": "command that is run after changes to storage",
             "type": str}),
+        ("strict_preconditions", {
+            "value": "False",
+            "help": "strict preconditions check on PUT",
+            "type": bool}),
         ("_filesystem_fsync", {
             "value": "True",
             "help": "sync all changes to filesystem during requests",