private function prepareResponse() {
    if (is_null($this->response)) {
      return false;
    }

    $response = "";

    $this->response_header_block = $this->extractHeadersFromResponse();
    if ($this->tryGetOption(CURLOPT_HEADER, $value) && $value) {
      $response .= $this->response_header_block;
    }
    $response .= $this->response->getContent();

    return $response;
  }
private function prepareResponse() {
    if (is_null($this->response)) {
      return false;
    }

    $response = "";

    $this->response_header_block = $this->extractHeadersFromResponse();
    if ($this->tryGetOption(CURLOPT_HEADER, $value) && $value) {
      $response .= $this->response_header_block;
    }
    $response .= $this->response->getContent();

    return $response;
  }
private function prepareResponse ( ) { if ( is_null ( $ this -> response ) ) { return false ; } $ response = "" ; $ this -> response_header_block = $ this -> extractHeadersFromResponse ( ) ; if ( $ this -> tryGetOption ( CURLOPT_HEADER , $ value ) && $ value ) { $ response .= $ this -> response_header_block ; } $ response .= $ this -> response -> getContent ( ) ; return $ response ; }
Prepare the response from the URLFetch request ready for delivery to the
caller.

@returns mixed String The response from the request, or false if there
was an error.
Prepare the response from the URLFetch request ready for delivery to the caller .