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

Safe HaskellNone

Network.Wai.Middleware.MethodOverride

Synopsis

Documentation

methodOverride :: MiddlewareSource

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.