Skip to content

4.93.1 - Remove HeadResponder

Compare
Choose a tag to compare
@penny-for-vapor penny-for-vapor released this 23 Apr 11:17
· 15 commits to main since this release
0311f9a

What's Changed

Remove HeadResponder by @baarde in #3147

The HEAD method is identical to GET except that the server must not send content in the response (RFC 9110, section 9.3.2).

The previous default behaviour of returning 200 OK to every HEAD request to a constant route is not standard-compliant.

The new behaviour is to always forward the request to the GET route, unless the developer explicitely configured a custom HEAD route.

This PR fixes #2680 and #2749.

New Contributor

This patch was released by @0xTim

Full Changelog: 4.93.0...4.93.1