github vapor/vapor 4.93.1
4.93.1 - Remove HeadResponder

latest releases: 4.101.1, 4.101.0, 4.100.2...
one month ago

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

Don't miss a new vapor release

NewReleases is sending notifications on new releases.