PHP :: Request #69953 :: Support MKCALENDAR request method
[2015-06-27 18:44 UTC] cmb@php.net
Description:
------------
It would be nice, if the built-in webserver supported the
MKCALENDAR request method.
Test script:
---------------
--TEST--
FR #?????: Support MKCALENDAR request method
--INI--
allow_url_fopen=1
--SKIPIF--
<?php
include "skipif.inc";
?>
--FILE--
<?php
include "php_cli_server.inc";
php_cli_server_start('echo $_SERVER["REQUEST_METHOD"];');
$context = stream_context_create(['http' => ['method' => 'MKCALENDAR']]);
var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context));
?>
--EXPECT--
string(10) "MKCALENDAR"
Expected result:
----------------
PASS
Actual result:
--------------
FAIL