mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Add a placeholder for the PROPPATCH command which I will now start working
on.
This commit is contained in:
parent
aea03540b6
commit
0919a0b2fe
@ -118,6 +118,7 @@ switch ( $request_method ) {
|
||||
case 'OPTIONS': include_once("caldav-OPTIONS.php"); break;
|
||||
case 'REPORT': include_once("caldav-REPORT.php"); break;
|
||||
case 'PROPFIND': include_once("caldav-PROPFIND.php"); break;
|
||||
case 'PROPPATCH': include_once("caldav-PROPPATCH.php"); break;
|
||||
case 'MKCALENDAR': include_once("caldav-MKCALENDAR.php"); break;
|
||||
case 'MKCOL': include_once("caldav-MKCOL.php"); break;
|
||||
case 'PUT': include_once("caldav-PUT.php"); break;
|
||||
|
||||
@ -62,7 +62,7 @@ if ( !exists ) {
|
||||
* PROPPATCH, because I suspect that will be used. Also HEAD and POST being fairly standard
|
||||
* should be handled. COPY and MOVE would seem to be easy also.
|
||||
*/
|
||||
$allowed = "OPTIONS, GET, PUT, DELETE, PROPFIND, MKCOL, MKCALENDAR";
|
||||
$allowed = "OPTIONS, GET, PUT, DELETE, PROPFIND, PROPPATCH, MKCOL, MKCALENDAR";
|
||||
if ( $is_calendar ) $allowed .= ", REPORT";
|
||||
header( "Allow: $allowed");
|
||||
// header( "Allow: ACL, COPY, DELETE, GET, HEAD, LOCK, MKCALENDAR, MKCOL, MOVE, OPTIONS, POST, PROPFIND, PROPPATCH, PUT, REPORT, SCHEDULE, TRACE, UNLOCK");
|
||||
|
||||
7
inc/caldav-PROPPATCH.php
Normal file
7
inc/caldav-PROPPATCH.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
echo "<h1>Unimplemented</h1><p>Unfortunately this function is planned, but not yet implemented</p";
|
||||
echo "<p>Well, actually, perhaps 'planned' is too strong a word. It <em>is</em> on the roadmap, and if you want to
|
||||
contribute to the planning, please add your two cents to the Sourceforge forums or tracker items.</p>";
|
||||
echo "<p>It would also be useful if you could find a client which uses it, maybe even a log of it
|
||||
doing so, and so on.</p>";
|
||||
?>
|
||||
Loading…
x
Reference in New Issue
Block a user