11dbg_error_log(
"OPTIONS",
"method handler");
13include_once(
'DAVResource.php');
21$resource->NeedPrivilege( array(
'DAV::read',
'DAV::read-current-user-privilege-set'),
true );
23if ( !$resource->Exists() ) {
24 $request->DoResponse( 404, translate(
"No collection found at that location.") );
27$allowed = implode(
', ', array_keys($resource->FetchSupportedMethods()) );
28header(
'Allow: '.$allowed);
30$request->DoResponse( 200,
"" );