mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
* fix: default head requests for endpoints when no explicit head method implemented * Update changeset for astro to minor * Update changeset for default HEAD requests * Update .changeset/afraid-turkeys-kneel.md Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com> --------- Co-authored-by: Matt Kane <m@mk.gg> Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
267 B
267 B
astro |
---|
minor |
Handle HEAD
requests to an endpoint when a handler is not defined.
If an endpoint defines a handler for GET
, but does not define a handler for HEAD
, Astro will call the GET
handler and return the headers and status but an empty body.