[][src]Crate hyper_method_override_middleware

A middleware that overrides an incoming POST request with a method given in the request's _method query paramerter. This is useful as web browsers typically only support GET and POST requests, but our application may expect other HTTP methods that are more semantically correct.

The methods PUT, PATCH, and DELETE are accepted for overriding, all others are ignored.

The _method query paramerter can be specified in a HTML form like so:

Structs

MethodOverrideMiddleware