mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-09 15:06:05 +00:00
Since we're going to support the LOCK/UNLOCK methods we begin by pretending.
This commit is contained in:
parent
ba92bbed18
commit
209bb99584
@ -54,7 +54,7 @@ if ( !$exists ) {
|
||||
if ( isset($c->override_allowed_methods) )
|
||||
$allowed = $c->override_allowed_methods;
|
||||
else {
|
||||
$allowed = "OPTIONS, GET, HEAD, PUT, DELETE, PROPFIND, MKCOL, MKCALENDAR";
|
||||
$allowed = "OPTIONS, GET, HEAD, PUT, DELETE, PROPFIND, MKCOL, MKCALENDAR, LOCK, UNLOCK";
|
||||
if ( $is_calendar ) $allowed .= ", REPORT";
|
||||
}
|
||||
header( "Allow: $allowed");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user