Преглед изворни кода

strict_preconditions: new config option

Peter Bieringer пре 4 месеци
родитељ
комит
8a53939fae
1 измењених фајлова са 4 додато и 0 уклоњено
  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",