BSD-3-Clause licensed and maintained by Andrew Farmer

Module documentation for 0.7.0.1

This version can be pinned in stack with:[email protected]:f33550f1e477d0654cacecd4aaa426bf481ba842962a394f2d31dfa5f8018d3c,1982

WAI middleware that intercepts requests to static files and serves them if they exist.

WAI
http://hackage.haskell.org/package/wai

Changes

0.7.0.1

  • Fixed Windows build (by replacing unix dependency with equivalent directory function)

0.7.0.0

  • Implement caching [agrafix]
  • Include mp4 and ogv mime_types [DrBoolean]
  • Dependency updates for ghc 7.10 [DougBurke]

0.6.0.1

  • Update links to new wai-middleware-static github/issue tracker.

  • Bump upper bound for text

0.6.0

  • Update to wai 3.0

0.5.0.1

  • Bump upper bound for mtl

0.5.0.0

  • Add isNotAbsolute policy and change static and staticPolicy to use noDots and isNotAbsolute policies by default. (Thanks to Nick Hibberd!)

  • Add unsafeStaticPolicy, which behaves as the old insecure staticPolicy behaved.

  • Add changelog