-
Notifications
You must be signed in to change notification settings - Fork 1
MethodNotAllowedMiddleware
Alexandre Debusschère edited this page Aug 14, 2020
·
1 revision
When the path matches, but the HTTP method does not, your application should return a 405 Method Not Allowed
status in response.
This middleware get the RouteResultInterface
instance from the request attributes.
If the RouteResultInterface
represent a method failure, then a 405 Method Not Allowed
is returned, with a
Allow
header listing the available methods for this route path.