wai-app-file-cgi-0.1.2: File/CGI App of WAI
Network.Wai.Application.Classic.Types
data AppSpec Source
Constructors
Fields
Name specified to Server: in HTTP response.
A file name of an index file.
Whether this is an HTML or not.
A function for logging.
data FileRoute Source
Path prefix to be matched to pathInfo.
pathInfo
Path prefix to an actual file system.
data CgiRoute Source
data RspSpec Source
Response status.
Response headers.
Response body.
data RspBody Source
Body does not exist.
Body as Lazy ByteString.
Body as a file.
data Range Source
Entire file showing its file size
A part of a file taking offset and length