property LegacyHttpResult.headers
Private

$res->headers — not a general Mojo::Headers shim, just the one accessor (->location, read when manually following a 301/302 redirect with max_redirects(0)) any real call site in the legacy plugin corpus actually reads off a response's headers.

Properties

location: string | undefined

Usage

import { type LegacyHttpResult } from "plugins/legacy-globals.d.ts";