Astro.response.headers ne doit pas être réaffectée.
AstroResponseHeadersReassigned: Individual headers can be added to and removed from
Astro.response.headers
, but it must not be replaced with another instance ofHeaders
altogether.
Qu’est-ce qui a mal tourné ?
Section intitulée « Qu’est-ce qui a mal tourné ? »Émise lorsqu’une valeur est définie comme champ headers
dans l’objet ResponseInit
disponible sous le nom Astro.response
.