10 packages found
Fastify plugin that adds an Allow header with all registered methods to GET and HEAD responses. See https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1
Add 405 HTTP status to your routes
Express/connect middleware to handle 405 errors
Allows 405 'Method Not Allowed' responses for hapi routes
Allow a set of HTTP methods
Simple plug and play function that can be dropped below your route declarations and forgotten about.
Different handlers based on HTTP method for Micro
A Node.js and Express.js handler function for non-allowed-HTTP-methods.
Fastify pluging handling method not allowed for routes
Express middleware for sending HTTP 405 Method Not Allowed response