projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- adjust cookie handling to work better together with libcurl
[m6w6/ext-http]
/
tests
/
HttpRequest_010.phpt
diff --git
a/tests/HttpRequest_010.phpt
b/tests/HttpRequest_010.phpt
index 4192aeef39db162aca57a8e03ddce60b86062fd2..b8bcaa516975a03900d2b10441f944c51ced8907 100644
(file)
--- a/
tests/HttpRequest_010.phpt
+++ b/
tests/HttpRequest_010.phpt
@@
-10,14
+10,12
@@
checkmin(5);
echo "-TEST\n";
$r = new HttpRequest("http://dev.iworks.at/.cookie.php");
echo "-TEST\n";
$r = new HttpRequest("http://dev.iworks.at/.cookie.php");
-$r->recordHistory = true;
$r->send();
$c[0] = $r->getResponseInfo("cookies");
var_dump(empty($c[0]));
$r->send();
$c[0] = $r->getResponseInfo("cookies");
var_dump(empty($c[0]));
-$r->setOptions(array("cookiesession" => true));
-
+$r->enableCookies();
$r->send();
$c[1] = $r->getResponseInfo("cookies");
var_dump(empty($c[1]));
$r->send();
$c[1] = $r->getResponseInfo("cookies");
var_dump(empty($c[1]));