Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Interface HttpResponse

    One inbound response.

    body is an async iterable rather than a string because the success path is a live token stream: buffering it would delete the streaming behaviour this whole seam exists to carry. Error bodies are small and get read whole by readBodyText.

    interface HttpResponse {
        body: AsyncIterable<Uint8Array<ArrayBufferLike>>;
        close?: () => Promise<void>;
        headers: Readonly<Record<string, string>>;
        status: number;
    }
    Index
    body: AsyncIterable<Uint8Array<ArrayBufferLike>>
    close?: () => Promise<void>

    Opt-in disposal even when a decoder refuses before reading the body.

    headers: Readonly<Record<string, string>>

    Lowercased header names; repeated headers already joined by the transport.

    status: number