vercel.internal._gw_images_headers
(internal) Gateway protocol headers, then the user's `headers` (lowercased), then auth — `authorization` + `ai-gateway-auth-method` are applied last so a passthrough header cannot silently unset the credential.
Reference version
Signature
function vercel.internal._gw_images_headers(
preview: bool = …
) -> map<string, string> throws baml.errors.Io | baml.errors.ParseError | ai.errors.InvalidRequest
(internal) Gateway protocol headers, then the user's headers (lowercased), then auth —
authorization + ai-gateway-auth-method are applied last so a passthrough
header cannot silently unset the credential.
Source:<builtin>/vercel/ns_internal/images.bamlbytes 9766–10480