projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
upgrade test suite to 5.3
[m6w6/ext-http]
/
tests
/
allowed_methods_002.phpt
diff --git
a/tests/allowed_methods_002.phpt
b/tests/allowed_methods_002.phpt
index 2185d8b3ca945dfa1f57a7a2de6bee5719324dca..99d0c61c8e9f66706d513b75069c132cbedf18e0 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.
3
);
?>
--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