public function testHead()
{
$http = new Service($this->_testConfig);
$result = $http->head();
$this->assertEqual('localhost:80', $result['Host']);
$this->assertEqual('HTTP/1.1', $http->last->response->protocol);
$this->assertEqual('200', $http->last->response->status['code']);
$this->assertEqual('OK', $http->last->response->status['message']);
$this->assertEqual(null, $http->last->response->type());
$this->assertEqual('UTF-8', $http->last->response->encoding);
$this->assertEqual('', $http->last->response->body());
}