0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00
astro/.changeset/healthy-oranges-report.md
Matt Kane d996db6f0b
fix: throw error if rewrite is attempted after body is used (#11258)
* fix: throw error if rewrite is attempted after body is used

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-06-14 13:57:17 +01:00

150 B

astro
patch

Adds a new error RewriteWithBodyUsed that throws when Astro.rewrite is used after the request body has already been read.