#751·mux

When I use the subrouter() method, Methods() only works on the last endpoint, and other than the last endpoint, the rest of the endpoints give a 404 instead of a 405 with the unrelated http method.

Author: arshamroshannejadCreated Feb 6, 2024Updated Mar 20, 2024
Labelsbug

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I use the subrouter() method, Methods() only works on the last endpoint, and other than the last endpoint, the rest of the endpoints give a 404 instead of a 405 with the unrelated http method.

last endpoint :

other endpoints:

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

No response