@shopify/cli-kit
    Preparing search index...

    Function filterCustomHeaders

    • Filters request headers to extract only custom headers that are safe to forward. Blocked headers and non-string values are excluded.

      Parameters

      • headers: { [key: string]: string | string[] | undefined }

        The raw incoming request headers.

      Returns { [key: string]: string }

      The subset of headers that are safe to forward to the Admin API.