Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
canonicalizeHTTPMethods :: Middleware Source #
Checks that the HTTP method is one of the StdMethods. StdMethod: HTTP standard method (as defined by RFC 2616, and PATCH which is defined by RFC 5789). Otherwise sets the HTTP method to INVALID. post: HTTP method is canonicalized
limitHTTPMethods :: Middleware Source #
Early exit for INVALID HTTP methods. pre: HTTP method is canonicalized.