projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
prepare 1.7.2 release
[m6w6/ext-http]
/
tests
/
allowed_methods_002.phpt
diff --git
a/tests/allowed_methods_002.phpt
b/tests/allowed_methods_002.phpt
index 2185d8b3ca945dfa1f57a7a2de6bee5719324dca..993f92e59f1b9cb27afa72530a2af277154856af 100644
(file)
--- a/
tests/allowed_methods_002.phpt
+++ b/
tests/allowed_methods_002.phpt
@@
-4,18
+4,18
@@
allowed methods
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
-checkmin(
5.1
);
+checkmin(
"5.2.5"
);
?>
--FILE--
<?php
include 'log.inc';
log_prepare(_AMETH_LOG);
?>
--FILE--
<?php
include 'log.inc';
log_prepare(_AMETH_LOG);
-ini_set('http.
allowed_methods
', 'POST');
+ini_set('http.
request.methods.allowed
', 'POST');
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
-Status: 405
-X-Powered-By: PHP/%
s
+Status: 405
%s
+X-Powered-By: PHP/%
a
Allow: POST
Allow: POST
-Content-type: %
s
+Content-type: %
a