phalcon/cphalcon — pull request #1180 by dreamsxin (2013-08-31 06:57:02+00:00)
Title: [NFR]\Phalcon\Http\Client

```php
$client = new \Phalcon\Http\Client('http://localhost/upload.php', 'POST');
$client->setData(array('key' => 'value', 'key1' => 'value1'));
$client->setFiles(array('unit-tests/assets/phalconphp.jpg'));
if ($client->send()) {
$code = $client->getResponseStatus();
$body = $client->getResponseBody();
}
```