cvs: pecl /http/tests request_put_data.phpt
| From: | Michael Wallner | Date: | Fri, 24 Feb 2006 20:32:08 +0000 |
| Subject: | cvs: pecl /http/tests request_put_data.phpt | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-5260@lists.php.net to get a copy of this message | ||
mike Fri Feb 24 20:32:08 2006 UTC
Added files:
/pecl/http/tests request_put_data.phpt
Log:
- add test
http://cvs.php.net/viewcvs.cgi/pecl/http/tests/request_put_data.phpt?view=markup&rev=1.1
Index: pecl/http/tests/request_put_data.phpt
+++ pecl/http/tests/request_put_data.phpt
--TEST--
http_put_data()
--SKIPIF--
<?php
include 'skip.inc';
skipif(!http_support(HTTP_SUPPORT_REQUESTS), "need request support");
?>
--FILE--
<?php
echo "-TEST\n";
var_dump(str_repeat("abc", 6000) === http_parse_message(http_put_data("http://dev.iworks.at/.print_put.php5",
str_repeat("abc", 6000/* > CURLBUF_SIZE */)))->body);
echo "Done\n";
?>
--EXPECTF--
%sTEST
bool(true)
Done