]> code.citadel.org Git - citadel.git/blobdiff - webcit/groupdav_main.c
* Added an experimental OPTIONS method. This is not required by GroupDAV,
[citadel.git] / webcit / groupdav_main.c
index 8df601a558babc5502a984be4a7cb0aaa5ed77bb..11c874c9dec4b7f91e4090226f43c83eb473d632 100644 (file)
@@ -179,6 +179,16 @@ void groupdav_main(struct httprequest *req,
                }
        }
 
+       /*
+        * The OPTIONS method is not required by GroupDAV.  This is an
+        * experiment to determine what might be involved in supporting
+        * other variants of DAV in the future.
+        */
+       if (!strcasecmp(dav_method, "OPTIONS")) {
+               groupdav_options(dav_pathname);
+               return;
+       }
+
        /*
         * The PROPFIND method is basically used to list all objects in a
         * room, or to list all relevant rooms on the server.