/**
  * Do a get request.
  *
  * @param string $url
  *   The URL relative to the fedora path to use.
  * @param string $headers_only
  *   Returns only the headers
  * @param string $file
  *   The filename to output the request to. If this is set then no headers
  *   will be returned.
  *
  * @return array
  *   The contents of the get request
  *
  * @see CurlConnection::getRequest()
  */
 public function getRequest($url, $headers_only = FALSE, $file = NULL)
 {
     try {
         return parent::getRequest($this->buildUrl($url), $headers_only, $file);
     } catch (HttpConnectionException $e) {
         $this->parseFedoraExceptions($e);
     }
 }