Skip to content

Response

Response = object

readonly headers: Readonly<Record<string, string>>

Names are lowercase. Repeated headers are joined with “, “.


readonly ok: boolean

True for status codes 200 through 299.


readonly status: number


readonly text: string

The body decoded as UTF-8. Bodies over 8 MiB fail with tooLarge.


readonly url: string

The URL after redirects.