logo       

cvs: pecl /http/tests INI_001.diff allowed_methods_001.phpt: msg#00176

php.pecl.cvs

Subject: cvs: pecl /http/tests INI_001.diff allowed_methods_001.phpt

mike Sun Jul 24 14:22:14 2005 EDT

Added files:
/pecl/http/tests INI_001.diff allowed_methods_001.phpt
Log:
- add tests



http://cvs.php.net/co.php/pecl/http/tests/INI_001.diff?r=1.1&p=1
Index: pecl/http/tests/INI_001.diff
+++ pecl/http/tests/INI_001.diff
001+
001- %sTEST
002- bool(true)
003- string(9) "cache.log"
004- bool(true)
005- string(15) "POST, HEAD, GET"
006- Done
http://cvs.php.net/co.php/pecl/http/tests/allowed_methods_001.phpt?r=1.1&p=1
Index: pecl/http/tests/allowed_methods_001.phpt
+++ pecl/http/tests/allowed_methods_001.phpt
--TEST--
allowed methods
--SKIPIF--
<?php
include 'skip.inc';
checkcgi();
?>
--FILE--
<?php
ini_set('http.allowed_methods', 'POST');
echo "Done\n";
?>
--EXPECTF--
Status: 405
Content-type: %s
X-Powered-By: PHP/%s
Allow: POST



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise