projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- add missing PHP closing tag
[m6w6/ext-http]
/
tests
/
HttpRequest_006.phpt
diff --git
a/tests/HttpRequest_006.phpt
b/tests/HttpRequest_006.phpt
index 8996166fad6f060faaf09e66a088dcfc91f3e4c1..24ee8a1ab42b8e1b676de79b7e3449c1b94e2d86 100644
(file)
--- a/
tests/HttpRequest_006.phpt
+++ b/
tests/HttpRequest_006.phpt
@@
-10,9
+10,9
@@
checkcls('HttpRequest');
<?php
echo "-TEST\n";
<?php
echo "-TEST\n";
-$r = new HttpRequest('http://dev.iworks.at/.print_request.php', HTTP_METH_POST);
+$r = new HttpRequest('http://dev.iworks.at/
ext-http/
.print_request.php', HTTP_METH_POST);
$r->setContentType('text/xml');
$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());