4 * Entry point for GroupDAV functions
14 #include <sys/types.h>
16 #include <sys/socket.h>
24 #include "webserver.h"
26 void groupdav_main(char *cmd) {
30 "HTTP/1.1 401 Authorization Required\n"
31 "WWW-Authenticate: Basic realm=\"GroupDAV\"\n"
34 output_headers(0, 0, 0, 0, 0, 0, 0);
35 wprintf("Content-Type: text/plain\n");
37 wprintf("GroupDAV sessions require HTTP authentication.\n");
41 output_static("smiley.gif"); /* FIXME */