public function head($path = null, $data = array(), array $options = array()) { $defaults = array('return' => 'headers', 'type' => false); return $this->send(__FUNCTION__, $path, $data, $options + $defaults); }
public function testHeadQueryString() { $http = new Service($this->_testConfig); $expected = array('foo' => 'bar'); $result = $http->head('/', $expected); $this->assertEqual($expected, $http->last->request->query); }