wai-extra-3.0.29.2: Provides some basic WAI handlers and middleware.

Safe Haskell | None
Language | Haskell2010

Network.Wai.Middleware.MethodOverride

Synopsis

- methodOverride :: Middleware

# Documentation

methodOverride :: Middleware Source #

Overriding of HTTP request method via `_method` query string parameter.

This middleware only applies when the initial request method is POST. Allows submitting of normal HTML forms, without worries of semantic mismatches with the HTTP spec.