Explorar el Código

catch 2 more xml tokens

Peter Bieringer hace 2 meses
padre
commit
cbece4f276
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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: