projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- fix parsing chunked encoded messages with odd spaces after the chunk size
[m6w6/ext-http]
/
tests
/
allowed_methods_001.phpt
1
--TEST--
2
allowed methods
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
?>
8
--FILE--
9
<?php
10
include 'log.inc';
11
log_prepare(_AMETH_LOG);
12
ini_set('http.allowed_methods', 'POST');
13
echo "Done\n";
14
?>
15
--EXPECTF--
16
Status: 405
17
Content-type: %s
18
X-Powered-By: PHP/%s
19
Allow: POST
20