wai-extra-3.1.13.0: Provides some basic WAI handlers and middleware.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Wai.Middleware.MethodOverride

Synopsis

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.