code: def test_http_proxy_return_aribitary_objects(ray_instance):
      """Test invalid callback path in http proxy"""
  
      actor_def = ray.serve._private.proxy.ProxyActor
      handle = actor_def.remote(
          host="http_proxy",
          port=123,
          root_path="/",
          node_ip_address="127.0.0.1",
          node_id="123",
          logging_config=LoggingConfig(),
          long_poll_client="fake_client",
      )
      with pytest.raises(
          RayActorError,
          match="must return a list of Starlette middlewares",
      ):
          ray.get(handle.ready.remote())
  
imports: import importlib
  import logging
  import os
  import sys
  import pytest
  import requests
  import starlette
  from starlette.middleware import Middleware
  import ray
  from ray import serve
  from ray._private.test_utils import wait_for_condition
  from ray.exceptions import RayActorError
  from ray.serve._private.common import ProxyStatus
  from ray.serve._private.utils import call_function_from_import_path
  from ray.serve.context import _get_global_client
  from ray.serve.schema import LoggingConfig, ServeInstanceDetails
label_desc: Use image node_id 9 for calling a global function with example usage: test_http_proxy_return_aribitary_objects(ray_instance) without return types