Skip to content

Fix warning when registering HEAD routes for GET requests

Compare
Choose a tag to compare
@VaporBot VaporBot released this 06 May 17:16
· 293 commits to main since this release
ea60bf2
This patch was authored and released by @0xTim.

Fixes an issue where the DefaultResponder would add HEAD routes for all requests instead of just GET requests, resulting in [Routing] Warning: Overriding route output at: HEAD/some/route if you registered routes at the same path with different methods.