From 9b971b26dc2d1c6e7f17b39294425aebf1b3c88a Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 24 Dec 2009 20:25:14 +1300 Subject: [PATCH] iCal4 wants to see 'calendar-proxy' in the DAV header. --- htdocs/caldav.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/caldav.php b/htdocs/caldav.php index 0fd41b0a..5df8e7f5 100644 --- a/htdocs/caldav.php +++ b/htdocs/caldav.php @@ -22,7 +22,7 @@ if ( isset($c->override_dav_header) ) { $dav = $c->override_dav_header; } else { - $dav = '1, 2, 3, access-control, calendar-access, calendar-schedule, extended-mkcol'; + $dav = '1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy'; } header( 'DAV: '.$dav); @@ -30,7 +30,7 @@ require_once('CalDAVRequest.php'); $request = new CalDAVRequest(); $allowed = implode( ', ', array_keys($request->supported_methods) ); -header( 'Allow: '.$allowed); +// header( 'Allow: '.$allowed); if ( ! ($request->IsPrincipal() || isset($request->collection) || $request->method == 'PUT' || $request->method == 'MKCALENDAR' || $request->method == 'MKCOL' ) ) { if ( preg_match( '#^/principals/users(/.*/)$#', $request->path, $matches ) ) {