projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- changelog
[m6w6/ext-http]
/
tests
/
allowed_methods_001.phpt
1
--TEST--
2
allowed methods
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
checkmax(5.0);
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
18
Content-type: %s
19
X-Powered-By: PHP/%s
20
Allow: POST
21