/** * Standalone HTTP response helper for custom server handlers. */ import type { SerializedHead } from "./head"; export interface HttpResponseOptions { status?: number; headers?: HeadersInit; /** * CSP nonce for inline scripts. When set (and `contentSecurityPolicy` is * not), a conservative default CSP is emitted with `'nonce-${nonce}'` for * `script-src` — pass the same nonce to head `