code: public function head($url, $parameters = false)
      {
          if (! is_object($url)) {
              $url = new SimpleUrl($url);
          }
          if ($this->getUrl()) {
              $url = $url->makeAbsolute($this->getUrl());
          }
          $response   = $this->user_agent->fetchResponse($url, new SimpleHeadEncoding($parameters));
          $this->page = new SimplePage($response);
  
          return ! $response->isError();
      }
docs: Fetches the page content with a HEAD request.
  Will affect cookies, but will not change the base URL.
  
  @param string/SimpleUrl $url                Target to fetch as string.
  @param hash/SimpleHeadEncoding $parameters  Additional parameters for HEAD request.
  
  @return bool                             True if successful.