on master help sign in
Version bump
commit373114508ef125019216035879669c069e0e4745 authorMichael Snoyman <michael@snoyman.com> dateMon 5 Jan 2015, 10:56 (12 years ago) parentaa0cba9
3 files changed+10−1
wai-extra/ChangeLog.md+4 wai-extra/Network/Wai/Middleware/StreamFile.hs+5 wai-extra/wai-extra.cabal+1−1
wai-extra/ChangeLog.md+4
@@ -1,3 +1,7 @@
1+## 3.0.4
2+
3+Add the `StreamFile` middleware.
4+
15## 3.0.3
26
37Add the `AddHeaders` middleware.
wai-extra/Network/Wai/Middleware/StreamFile.hs+5
@@ -1,5 +1,8 @@
11{-# LANGUAGE OverloadedStrings #-}
22
3+-- |
4+--
5+-- Since 3.0.4
36module Network.Wai.Middleware.StreamFile
47 (streamFile) where
58
@@ -20,6 +23,8 @@ import System.Posix
2023-- Streaming a file will bypass a sendfile system call, and may be
2124-- useful to work around systems without working sendfile
2225-- implementations.
26+--
27+-- Since 3.0.4
2328streamFile :: Middleware
2429streamFile app env sendResponse = app env $ \res ->
2530 case res of
wai-extra/wai-extra.cabal+1−1
@@ -1,5 +1,5 @@
11Name: wai-extra
2−Version: 3.0.3.2
2+Version: 3.0.4
33Synopsis: Provides some basic WAI handlers and middleware.
44description: API docs and the README are available at <http://www.stackage.org/package/wai-extra>.
55License: MIT