diff --git a/inc/caldav-OPTIONS.php b/inc/caldav-OPTIONS.php index 0b0971c3..00556f58 100644 --- a/inc/caldav-OPTIONS.php +++ b/inc/caldav-OPTIONS.php @@ -45,5 +45,8 @@ if ( !$exists ) { $request->DoResponse( 404, translate("No collection found at that location.") ); } +$allowed = implode( ', ', array_keys($request->supported_methods) ); +header( 'Allow: '.$allowed); + $request->DoResponse( 200, "" );