original_string: protected function makeHttpRequest($url, $method, $headers, $body = null) {
      $request_headers = array_merge($headers, self::$api_version_header);
  
      $result = $this->doHttpRequest($url,
                                     $method,
                                     $request_headers,
                                     $body);
  
      if ($result === false) {
        return false;
      }
  
      return [
        'status_code' => $result['status_code'],
        'headers' => $result['headers'],
        'body' => $result['body'],
      ];
    }
code: protected function makeHttpRequest($url, $method, $headers, $body = null) {
      $request_headers = array_merge($headers, self::$api_version_header);
  
      $result = $this->doHttpRequest($url,
                                     $method,
                                     $request_headers,
                                     $body);
  
      if ($result === false) {
        return false;
      }
  
      return [
        'status_code' => $result['status_code'],
        'headers' => $result['headers'],
        'body' => $result['body'],
      ];
    }
code_tokens: protected function makeHttpRequest ( $ url , $ method , $ headers , $ body = null ) { $ request_headers = array_merge ( $ headers , self :: $ api_version_header ) ; $ result = $ this -> doHttpRequest ( $ url , $ method , $ request_headers , $ body ) ; if ( $ result === false ) { return false ; } return [ 'status_code' => $ result [ 'status_code' ] , 'headers' => $ result [ 'headers' ] , 'body' => $ result [ 'body' ] , ] ; }
docstring: Make a request to GCS using HttpStreams.
  
  Returns:
  headers array
  response body
docstring_tokens: Make a request to GCS using HttpStreams .