| |||||||||
| |||||||||
Synopsis | |||||||||
| |||||||||
Documentation | |||||||||
type MimeMap = Map String String | |||||||||
fileServe :: MonadIO m => [FilePath] -> FilePath -> ServerPartT m Response | |||||||||
mimeTypes :: MimeMap | |||||||||
Serve files with a mime type map under a directory. Uses the function to transform URIs to FilePaths. Ready collection of common mime types. | |||||||||
blockDotFiles :: (Request -> IO Response) -> Request -> IO Response | |||||||||
errorwrapper :: MonadIO m => String -> String -> ServerPartT m Response | |||||||||
Produced by Haddock version 2.1.0 |