ProblemDetailsResponseOptions

import { ProblemDetailsResponseOptions } from "jsr:@ende/http/unstable-problem-details";

interface · experimental

interface ProblemDetailsResponseOptions

Options for createProblemDetailsResponse.

Properties

headers

headers?: HeadersInit

Additional headers to include in the response.

statusText

statusText?: string

Status text for the response. When omitted, the Response constructor's default (the empty string, per the Fetch spec) is used; we deliberately do not synthesize one from the standard HTTP status text — the JSON title field already carries that information.

Source