HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulewai-app-static-3.2.1Haskell2010

Network.Wai.Application.Static

Static file serving for WAI.

Contents
  1. WAI application
  2. Default Settings
  3. Settings
Synopsis

WAI application

Default Settings

Settings

Determine the mime type of the given file. Note that this function lives in IO in case you want to perform more complicated mimetype analysis, such as via the file utility.

Ordered list of filenames to be used for indices. If the user requests a folder, and a file with the given name is found in that folder, that file is served. This supercedes any directory listing.