original_string: public function headURL($url, $followRedirects = true, $username = null, $password = null, $headers = array())
      {
  
          if (function_exists('curl_init')) {
  
                  $contents = $this->curlRequest($url, true, $followRedirects, $username, $password, $headers);
                  return $contents;
  
          } else {
  
              throw new HttpRequestException('headURL not supported without curl');
  
          }
      }
code: public function headURL($url, $followRedirects = true, $username = null, $password = null, $headers = array())
      {
  
          if (function_exists('curl_init')) {
  
                  $contents = $this->curlRequest($url, true, $followRedirects, $username, $password, $headers);
                  return $contents;
  
          } else {
  
              throw new HttpRequestException('headURL not supported without curl');
  
          }
      }
code_tokens: public function headURL ( $ url , $ followRedirects = true , $ username = null , $ password = null , $ headers = array ( ) ) { if ( function_exists ( 'curl_init' ) ) { $ contents = $ this -> curlRequest ( $ url , true , $ followRedirects , $ username , $ password , $ headers ) ; return $ contents ; } else { throw new HttpRequestException ( 'headURL not supported without curl' ) ; } }
docstring: Fetch the headers of a URL
  
  @param string $url Fully-qualified URL to request
  @param bool   $followRedirects If true, follow redirects to default max of 5
  @param string $username Username to use in http authentication header
  @param string $password Password to use in http authentication header
  @param array  $headers  Array of http headers to append to the existing headers list
  
  @return string Contents of the HTTP headers
  @throws HttpRequestException If contents cannot be fetched
docstring_tokens: Fetch the headers of a URL