projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- deprecate HttpRequest::*RawPostData() in favour of ::*Body()
[m6w6/ext-http]
/
tests
/
HttpRequest_006.phpt
diff --git
a/tests/HttpRequest_006.phpt
b/tests/HttpRequest_006.phpt
index 8996166fad6f060faaf09e66a088dcfc91f3e4c1..68c3ffecd84b420a478e2477f7d7a6a8709cb1e1 100644
(file)
--- a/
tests/HttpRequest_006.phpt
+++ b/
tests/HttpRequest_006.phpt
@@
-12,7
+12,7
@@
echo "-TEST\n";
$r = new HttpRequest('http://dev.iworks.at/.print_request.php', HTTP_METH_POST);
$r->setContentType('text/xml');
$r = new HttpRequest('http://dev.iworks.at/.print_request.php', HTTP_METH_POST);
$r->setContentType('text/xml');
-$r->set
RawPostData
(xmlrpc_encode_request('testMethod', array('foo' => 'bar')));
+$r->set
Body
(xmlrpc_encode_request('testMethod', array('foo' => 'bar')));
var_dump($r->send());
var_dump($r->send());
var_dump($r->send());
var_dump($r->send());
var_dump($r->send());
var_dump($r->send());