packages feed

wai-app-static 3.0.0.1 → 3.0.0.2

raw patch · 2 files changed

+4/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Network/Wai/Application/Static.hs view
@@ -212,7 +212,9 @@         mimetype <- ssGetMimeType ss file         let filesize = fileGetSize file         let headers = ("Content-Type", mimetype)-                    : ("Content-Length", S8.pack $ show filesize)+                    -- Let Warp provide the content-length, since it takes+                    -- range requests into account+                    -- : ("Content-Length", S8.pack $ show filesize)                     : ch         sendResponse $ fileToResponse file H.status200 headers 
wai-app-static.cabal view
@@ -1,5 +1,5 @@ name:            wai-app-static-version:         3.0.0.1+version:         3.0.0.2 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>