LLM Streaming Trailer Allowlist for AI Gateways
HTTP trailers arrive after streamed content, which makes them useful for final digests, signatures, delivery metrics, and post-processing status. Their timing also limits what they can safely control. An AI gateway should keep trailers separate from initial headers, accept only fields whose definitions permit trailer use, reject security-sensitive names, and preserve approved metadata only across protocol paths that support it.