class_docstr: HTTP options for the proxies. Supported fields:
  
  - host: Host that the proxies listens for HTTP on. Defaults to
    "127.0.0.1". To expose Serve publicly, you probably want to set
    this to "0.0.0.0".
  - port: Port that the proxies listen for HTTP on. Defaults to 8000.
  - root_path: An optional root path to mount the serve application
    (for example, "/prefix"). All deployment routes are prefixed
    with this path.
  - request_timeout_s: End-to-end timeout for HTTP requests.
  - keep_alive_timeout_s: Duration to keep idle connections alive when no
    requests are ongoing.
  
  - location: [DEPRECATED: use `proxy_location` field instead] The deployment
    location of HTTP servers:
  
      - "HeadOnly": start one HTTP server on the head node. Serve
        assumes the head node is the node you executed serve.start
        on. This is the default.
      - "EveryNode": start one HTTP server per node.
      - "NoServer": disable HTTP server.
  
  - num_cpus: [DEPRECATED] The number of CPU cores to reserve for each
    internal Serve HTTP proxy actor.
code: def location_backfill_no_server(cls, v, values):
      if values["host"] is None or v is None:
          return DeploymentMode.NoServer
  
      return v
  
imports: import logging
  import warnings
  from enum import Enum
  from typing import Any, Callable, List, Optional, Union
  from ray import cloudpickle
  from ray._private.pydantic_compat import BaseModel, NonNegativeFloat, NonNegativeInt, PositiveFloat, PositiveInt, validator
  from ray._private.utils import import_attr
  from ray.serve._private.constants import DEFAULT_AUTOSCALING_POLICY, DEFAULT_GRPC_PORT, DEFAULT_HTTP_HOST, DEFAULT_HTTP_PORT, DEFAULT_UVICORN_KEEP_ALIVE_TIMEOUT_S, SERVE_LOGGER_NAME
  from ray.util.annotations import Deprecated, PublicAPI
label_desc: Use image node_id 1 for calling the HTTPOptions obj's underlying member method code with example usage: obj.location_backfill_no_server(cls, v, values) and returns: v, DeploymentMode