ai.internal._int_header

(internal) A non-negative integer header value, or null when it is absent, blank, or not an integer (`Retry-After` may also be an HTTP-date, which is not parsed).

Reference version

Signature

function ai.internal._int_header(
headers: map<string, string>,
lower: string,
canonical: string
) -> int | null

(internal) A non-negative integer header value, or null when it is absent, blank, or not an integer (Retry-After may also be an HTTP-date, which is not parsed).

Source:<builtin>/ai/ns_internal/http_errors.bamlbytes 6711086