packages feed

wai-app-file-cgi 0.2.1 → 0.2.2

raw patch · 5 files changed

+4/−5 lines, 5 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Network.Wai.Application.Classic: BodyFile :: ByteString -> Range -> RspBody
- Network.Wai.Application.Classic: BodyLBS :: ByteString -> RspBody
- Network.Wai.Application.Classic: Entire :: Integer -> Range
- Network.Wai.Application.Classic: NoBody :: RspBody
- Network.Wai.Application.Classic: Part :: Integer -> Integer -> Range
- Network.Wai.Application.Classic: data Range
- Network.Wai.Application.Classic: data RspBody

Files

Network/Wai/Application/Classic.hs view
@@ -5,8 +5,6 @@ module Network.Wai.Application.Classic (   -- * Types     AppSpec(..)-  , RspBody(..)-  , Range(..)   -- * Files   , FileRoute(..), fileApp   -- * CGI
Network/Wai/Application/Classic/CGI.hs view
@@ -37,7 +37,7 @@ {-|   Handle GET and POST for CGI. -The program to link this library must ignore SIGCHLD as follow:+The program to link this library must ignore SIGCHLD as follows:  >   installHandler sigCHLD Ignore Nothing -}
Network/Wai/Application/Classic/Header.hs view
@@ -11,6 +11,7 @@  ---------------------------------------------------------------- +-- | Header field key. This must be lower case. type FieldKey = ByteString  -- | A type for look-up key.
Network/Wai/Application/Classic/Types.hs view
@@ -12,7 +12,7 @@   , indexFile :: ByteString     -- | Whether this is an HTML or not.   , isHTML :: ByteString -> Bool-    -- | A function for logging.+    -- | A function for logging. The third argument is a body size.   , logger :: Request -> Status -> Maybe Integer -> IO ()   } 
wai-app-file-cgi.cabal view
@@ -1,5 +1,5 @@ Name:                   wai-app-file-cgi-Version:                0.2.1+Version:                0.2.2 Author:                 Kazu Yamamoto <kazu@iij.ad.jp> Maintainer:             Kazu Yamamoto <kazu@iij.ad.jp> License:                BSD3