mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-13 08:00:15 +00:00
Move the Allow response back into OPTIONS where it really belongs.
This commit is contained in:
parent
d09ac0d004
commit
3fb0b392fa
@ -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, "" );
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user