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
If a path exists in the route configuration, the router shouldn’t return a 404 just because the HTTP method isn’t allowed. Instead, it should return a 405 response and include the Allow header.
Symfony router and FastRoute support this.
Code and/or config needed to reproduce the problem.
Description
If a path exists in the route configuration, the router shouldn’t return a 404 just because the HTTP method isn’t allowed. Instead, it should return a 405 response and include the
Allow
header.Symfony router and FastRoute support this.
Code and/or config needed to reproduce the problem.
Create a route like this
Send GET request to /example. Note that it returns 404, not 405, and
Allow
header is missing.The text was updated successfully, but these errors were encountered: