Network.Wai.Middleware.MethodOverride

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

Safe Haskell | None
Language | Haskell98

Network.Wai.Middleware.MethodOverride

Synopsis

- methodOverride :: Middleware

# Documentation

methodOverride :: Middleware

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.