icepeak-0.7.1.0: A fast JSON document store with push notification support.

Safe HaskellNone
LanguageHaskell2010

HTTPMethodInvalid

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.