You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] Inconsistent HTTP status code on query mismatch (#712)
The logical behavior of a router should return an HTTP status code of
404 when a request fails to satisfy route validation logic. Previously,
MUX was returning a 405 HTTP status code in some rare scenarios, which
was not valid in its case.
For more info, See: #704Fixes#704
**Summary of Changes**
1. Clear the mismatch error of the previous validations on method match.
2. Added related tests
> PS: Make sure your PR includes/updates tests! If you need help with
this part, just ask!
Co-authored-by: Corey Daley <[email protected]>
0 commit comments