Happstack.Server.FileServe.BuildingBlocks

High-Level

Serving files from a directory

fileServe

fileServe'

fileServeLazy

fileServeStrict

data Browsing

serveDirectory

serveDirectory'

Serving a single file

serveFile

serveFileFrom

serveFileUsing

Low-Level

sendFileResponse

lazyByteStringResponse

strictByteStringResponse

filePathSendFile

filePathLazy

filePathStrict

Content-Type / Mime-Type

type MimeMap

mimeTypes

asContentType

guessContentType

guessContentTypeM

Directory Browsing

data EntryKind

browseIndex

renderDirectoryContents

renderDirectoryContentsTable

Other

blockDotFiles

defaultIxFiles

combineSafe

isSafePath

tryIndex

doIndex

doIndex'

doIndexLazy

doIndexStrict

fileNotFound

isDot