public function head($url, $params = [])
    {
        if (is_array($url)) {
            return $this->mhead($url, $params);
        }
        return $this->exec($this->buildRequest('HEAD', $url, $params));
    }
public function head($url, $params = [])
    {
        if (is_array($url)) {
            return $this->mhead($url, $params);
        }
        return $this->exec($this->buildRequest('HEAD', $url, $params));
    }
public function head ( $ url , $ params = [ ] ) { if ( is_array ( $ url ) ) { return $ this -> mhead ( $ url , $ params ) ; } return $ this -> exec ( $ this -> buildRequest ( 'HEAD' , $ url , $ params ) ) ; }
Shortcut of HEAD request
@param string $url request URL string.
@param array $params query params appended to URL.
@return Response result response object.
Shortcut of HEAD request