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

Safe HaskellSafe-Infered

Network.Wai.Middleware.MethodOverride

Synopsis

Documentation

methodOverride :: MiddlewareSource

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

This middlware 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.