on master help sign in
Expsoing requestBodyFunc
commitc6fbbbba6c648062cdc9a5a7cf89611ff2191852 authorMichael Snoyman <michael@snoyman.com> dateTue 11 Jan 2011, 20:01 (16 years ago) parent452c6e6
1 file changed+2−1
Network/Wai/Handler/CGI.hs+2−1
Network/Wai/Handler/CGI.hs+2−1
@@ -5,6 +5,7 @@ module Network.Wai.Handler.CGI
55 , run'
66 , run''
77 , runSendfile
8+ , requestBodyFunc
89 ) where
910
1011import Network.Wai
@@ -65,7 +66,7 @@ run' vars inputH outputH app = do
6566
6667run'' :: [(String, String)] -- ^ all variables
6768 -> (forall a. Int -> Enumerator B.ByteString IO a) -- ^ responseBody of input
68− -> (B.ByteString -> IO ()) -- ^ destination for output FIXME use an iteratee
69+ -> (B.ByteString -> IO ()) -- ^ destination for output
6970 -> Maybe B.ByteString -- ^ does the server support the X-Sendfile header?
7071 -> Application
7172 -> IO ()