wai-middleware-static 0.3.2 → 0.4.0
raw patch · 2 files changed
+11/−11 lines, 2 filesdep ~basedep ~bytestringdep ~containersPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, bytestring, containers, directory, filepath, http-types, mtl, text, wai
API changes (from Hackage documentation)
Files
Network/Wai/Middleware/Static.hs view
@@ -119,7 +119,7 @@ maybe (app req) (\fp -> do exists <- liftIO $ doesFileExist fp if exists- then return $ ResponseFile status200+ then return $ responseFile status200 [("Content-Type", getMimeType fp)] fp Nothing
wai-middleware-static.cabal view
@@ -1,5 +1,5 @@ Name: wai-middleware-static-Version: 0.3.2+Version: 0.4.0 Synopsis: WAI middleware that intercepts requests to static files. Homepage: https://github.com/ku-fpg/scotty Bug-reports: https://github.com/ku-fpg/scotty/issues@@ -21,15 +21,15 @@ Library Exposed-modules: Network.Wai.Middleware.Static default-language: Haskell2010- Build-depends: base >= 4.3.1 && < 5,- bytestring >= 0.9.2.1,- containers >= 0.4,- directory >= 1.1,- http-types >= 0.6.8,- mtl >= 2.0.1,- filepath >= 1.3.0.0,- text >= 0.11.1,- wai >= 1.0.0+ Build-depends: base >= 4.6.0.1 && < 5,+ bytestring >= 0.10.0.2 && < 0.11,+ containers >= 0.5.0.0 && < 0.6,+ directory >= 1.2.0.1 && < 1.3,+ http-types >= 0.8.2 && < 0.9,+ mtl >= 2.1.2 && < 2.2,+ filepath >= 1.3.0.1 && < 1.4,+ text >= 0.11.3.1 && < 0.12,+ wai >= 2.0.0 && < 2.1 GHC-options: -Wall -fno-warn-orphans