let DEV_2 be trunk
[m6w6/ext-http] / tests / request_cookies.phpt
diff --git a/tests/request_cookies.phpt b/tests/request_cookies.phpt
deleted file mode 100644 (file)
index f83f46a..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
---TEST--
-urlencoded cookies
---SKIPIF--
-<?php
-include 'skip.inc';
-checkver(5);
-skipif(!http_support(HTTP_SUPPORT_REQUESTS), "need request support");
-?>
---FILE--
-<?php
-echo "-TEST\n";
-
-$cookies = array("name" => "val=ue");
-
-$r = new HttpRequest("http://dev.iworks.at/ext-http/.print_request.php", HTTP_METH_GET, array("cookies" => $cookies));
-$r->recordHistory = true;
-$r->send();
-$r->setOptions(array('encodecookies' => false));
-$r->send();
-echo $r->getHistory()->toString(true);
-
-echo "Done\n";
-?>
---EXPECTF--
-%aTEST
-GET /ext-http/.print_request.php HTTP/1.1
-User-Agent: %a
-Host: dev.iworks.at
-Accept: */*
-Cookie: name=val%3Due
-HTTP/1.1 200 OK
-%a
-
-Array
-(
-    [name] => val=ue
-)
-
-GET /ext-http/.print_request.php HTTP/1.1
-User-Agent: %a
-Host: dev.iworks.at
-Accept: */*
-Cookie: name=val=ue;
-HTTP/1.1 200 OK
-%a
-
-Array
-(
-    [name] => val=ue
-)
-
-Done