| Safe Haskell | Safe-Infered |
|---|
Data.IterIO.Http.Support.Routing
Description
Utility functions for routing.
- runLHttpRoute :: Monad m => HttpRoute m s -> HttpReq s -> Iter ByteString m (HttpResp m)
Documentation
runLHttpRoute :: Monad m => HttpRoute m s -> HttpReq s -> Iter ByteString m (HttpResp m)Source
Like runHttpRoute but replaces GET and POST request headers with the
value of the X-HTTP-Method-Override HTTP header if it is present. This
allows applicaitons to respond to DELETE and PUT methods even though
many browsers do not support those methods.