Network.CGI
CGI monad
class
MonadCGI
m
data
CGIT
m a
data
CGIResult
type
CGI
a
runCGI
Error handling
throwCGI
catchCGI
tryCGI
handleExceptionCGI
handleErrors
Logging
logCGI
Output
output
outputFPS
outputNothing
redirect
setHeader
setStatus
Error pages
outputError
outputException
outputNotFound
outputMethodNotAllowed
outputInternalServerError
Input
getInput
getInputFPS
readInput
getBody
getBodyFPS
getInputs
getInputsFPS
getInputNames
getMultiInput
getMultiInputFPS
getInputFilename
getInputContentType
Environment
getVar
getVarWithDefault
getVars
Request information
serverName
serverPort
requestMethod
pathInfo
pathTranslated
scriptName
queryString
remoteHost
remoteAddr
authType
remoteUser
requestContentType
requestContentLength
requestHeader
Program and request URI
progURI
queryURI
requestURI
Content negotiation
class
Acceptable
a
data
Accept
a
data
Charset
data
ContentEncoding
data
Language
requestAccept
requestAcceptCharset
requestAcceptEncoding
requestAcceptLanguage
negotiate
Content type
data
ContentType
showContentType
parseContentType
Cookies
data
Cookie
newCookie
getCookie
readCookie
setCookie
deleteCookie
URL encoding
formEncode
urlEncode
formDecode
urlDecode
Compatibility with the old API