11 $request = new http\Client\Request("POST", "http://dev.iworks.at/ext-http/.print_request.php");
12 $request->getBody()->addForm(null, array("file"=>__FILE__, "name"=>"upload", "type"=>"text/plain"));
14 foreach (http\Client::getAvailableDrivers() as $driver) {
15 $client = new http\Client($driver);
16 $client->enqueue($request)->send();
17 var_dump($client->getResponse()->getBody()->toString());
23 (?:string\(\d+\) "Array
27 \[name\] \=\> client010\.php
28 \[type\] \=\> text\/plain