Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning when registering HEAD routes for GET requests #2617

Merged
merged 2 commits into from
May 6, 2021

Conversation

0xTim
Copy link
Member

@0xTim 0xTim commented May 6, 2021

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.

@0xTim 0xTim added the semver-patch Internal changes only label May 6, 2021
Copy link
Sponsor Member

@Andrewangeta Andrewangeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏽

@0xTim 0xTim merged commit ea60bf2 into main May 6, 2021
@0xTim 0xTim deleted the head-routing-override branch May 6, 2021 17:16
@VaporBot
Copy link
Contributor

VaporBot commented May 6, 2021

These changes are now available in 4.45.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch Internal changes only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants