wprintf("HTTP/1.1 200 OK\r\n");
groupdav_common_headers();
wprintf("Date: %s\r\n", datestring);
+ wprintf("DAV: 1\r\n");
wprintf("Allow: OPTIONS, PROPFIND\r\n");
wprintf("\r\n");
return;
if (strcasecmp(WC->wc_roomname, dav_roomname)) {
gotoroom(dav_roomname);
}
+
if (strcasecmp(WC->wc_roomname, dav_roomname)) {
wprintf("HTTP/1.1 404 not found\r\n");
groupdav_common_headers();
wprintf("HTTP/1.1 200 OK\r\n");
groupdav_common_headers();
wprintf("Date: %s\r\n", datestring);
+ wprintf("DAV: 1\r\n");
wprintf("Allow: OPTIONS, PROPFIND, GET, PUT, DELETE\r\n");
wprintf("\r\n");
return;
}
-
/*
* We got to this point, which means that the client is requesting
* an OPTIONS on the room itself.
wprintf("HTTP/1.1 200 OK\r\n");
groupdav_common_headers();
wprintf("Date: %s\r\n", datestring);
+ wprintf("DAV: 1\r\n");
wprintf("Allow: OPTIONS, PROPFIND, GET, PUT\r\n");
wprintf("\r\n");
}