Ver Fonte

catch 2 more xml tokens

Peter Bieringer há 2 meses atrás
pai
commit
cbece4f276
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      radicale/app/__init__.py

+ 4 - 0
radicale/app/__init__.py

@@ -289,8 +289,12 @@ class Application(ApplicationPartDelete, ApplicationPartHead,
             if xml_request is not None:
                 if "<sync-token />" in xml_request:
                     flags.append("sync-token")
+                if "<getetag />" in xml_request:
+                    flags.append("getetag")
                 if "<CS:getctag />" in xml_request:
                     flags.append("getctag")
+                if "<sync-collection " in xml_request:
+                    flags.append("sync-collection")
             if flags:
                 flags_text = " (" + " ".join(flags) + ")"
             else: