@hackage hack-handler-hyena2010.3.15

Hyena hack handler

Note

You must set content-length in response explicitly, e.g. use the content_length middleware, otherwise, request might choke.

import Hack.Handler.Hyena
import Hack.Contrib.Middleware.ContentLength
import Hack.Frontend.Happstack
import Network.Gitit

main = do
  conf <- getDefaultConfig
  createStaticIfMissing conf
  createTemplateIfMissing conf
  createRepoIfMissing conf
  initializeGititState conf
  
  run . content_length $ serverPartToApp (wiki conf)
  • Deprecated

  • Dependencies (0)

  • Dependents (0)