protected function request($method, $url, array $options, $body = '')
	{
		$response = @file_get_contents($url, false, $this->createContext($method, $options, $body));
		if ($response === false)
		{
			return false;
		}

		$response = $this->decompress($response);
		if (!empty($options['returnHeaders']))
		{
			$response = implode("\r\n", $http_response_header) . "\r\n\r\n" . $response;
		}

		return $response;
	}
protected function request($method, $url, array $options, $body = '')
	{
		$response = @file_get_contents($url, false, $this->createContext($method, $options, $body));
		if ($response === false)
		{
			return false;
		}

		$response = $this->decompress($response);
		if (!empty($options['returnHeaders']))
		{
			$response = implode("\r\n", $http_response_header) . "\r\n\r\n" . $response;
		}

		return $response;
	}
protected function request ( $ method , $ url , array $ options , $ body = '' ) { $ response = @ file_get_contents ( $ url , false , $ this -> createContext ( $ method , $ options , $ body ) ) ; if ( $ response === false ) { return false ; } $ response = $ this -> decompress ( $ response ) ; if ( ! empty ( $ options [ 'returnHeaders' ] ) ) { $ response = implode ( "\r\n" , $ http_response_header ) . "\r\n\r\n" . $ response ; } return $ response ; }
Execute an HTTP request

@param  string      $method  Request method
@param  string      $url     Request URL
@param  array       $options Request options
@return string|bool          Response body or FALSE
Execute an HTTP request