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

Safe HaskellNone
LanguageHaskell2010

Network.Wai.Middleware.MethodOverride

Synopsis

Documentation

methodOverride :: Middleware Source #

Allows overriding of the HTTP request method via the _method query string parameter.

This middleware only applies when the initial request method is POST. This allow submitting of normal HTML forms, without worries of semantics mismatches in the HTTP spec.