99d0c61c8e9f66706d513b75069c132cbedf18e0
[m6w6/ext-http] / tests / allowed_methods_002.phpt
1 --TEST--
2 allowed methods
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 checkcgi();
7 checkmin(5.3);
8 ?>
9 --FILE--
10 <?php
11 include 'log.inc';
12 log_prepare(_AMETH_LOG);
13 ini_set('http.request.methods.allowed', 'POST');
14 echo "Done\n";
15 ?>
16 --EXPECTF--
17 Status: 405%s
18 X-Powered-By: PHP/%a
19 Allow: POST
20 Content-type: %a
21