7 skipif(!http_support(HTTP_SUPPORT_REQUESTS), "need request support");
13 $cookies = array("name" => "val=ue");
15 $r = new HttpRequest("http://dev.iworks.at/ext-http/.print_request.php", HTTP_METH_GET, array("cookies" => $cookies));
16 $r->recordHistory = true;
18 $r->setOptions(array('encodecookies' => false));
20 echo $r->getHistory()->toString(true);
26 GET /ext-http/.print_request.php HTTP/1.1
39 GET /ext-http/.print_request.php HTTP/1.1