wai-extra-0.2.2.1: Provides some basic WAI handlers and middleware.

Network.Wai.Handler.CGI

Documentation

run'Source

Arguments

:: [(String, String)]

all variables

-> Handle

responseBody of input

-> Handle

destination for output

-> Application 
-> IO () 

run''Source

Arguments

:: [(String, String)]

all variables

-> (Int -> Source)

responseBody of input

-> (ByteString -> IO ())

destination for output

-> Maybe String

does the server support the X-Sendfile header?

-> Application 
-> IO () 

runSendfileSource

Arguments

:: String

sendfile header

-> Application 
-> IO ()