Salta ai contenuti
This is an unmaintained snapshot of the Astro v5 docs. View the latest docs.

Astro.response.headers must not be reassigned.

Questi contenuti non sono ancora disponibili nella tua lingua.

AstroResponseHeadersReassigned: Individual headers can be added to and removed from Astro.response.headers, but it must not be replaced with another instance of Headers altogether.

Thrown when a value is being set as the headers field on the ResponseInit object available as Astro.response.

Contribuisci Comunità Sponsor