mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
[index] Allow for a HEAD request on / to be served here too.
This commit is contained in:
parent
6115d90cbf
commit
bc88301a4f
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
if ( $_SERVER['REQUEST_METHOD'] != "GET" && $_SERVER['REQUEST_METHOD'] != "POST" ) {
|
||||
if ( $_SERVER['REQUEST_METHOD'] != "GET" && $_SERVER['REQUEST_METHOD'] != "POST" && $_SERVER['REQUEST_METHOD'] != "HEAD" ) {
|
||||
/**
|
||||
* If the request is not a GET or POST then they must really want caldav.php!
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user