protected function fetchObject($fetchContent = FALSE) {
    $method = $fetchContent ? 'GET' : 'HEAD';

    $client = \HPCloud\Transport::instance();
    $headers = array(
      'X-Auth-Token' => $this->token,
    );

    if (empty($this->cdnUrl)) {
      $response = $client->doRequest($this->url, $method, $headers);
    }
    else {
      $response = $client->doRequest($this->cdnUrl, $method, $headers);
    }

    if ($response->status() != 200) {
      throw new \HPCloud\Exception('An unknown exception occurred during transmission.');
    }

    $this->extractFromHeaders($response);

    return $response;
  }