hack-handler-hyena: Hyena hack handler

[ bsd3, deprecated, library, web ] [ Propose Tags ]

Hyena hack handler

[Skip to Readme]




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 2009.4.30, 2009.4.50, 2009.4.51, 2009.6.23, 2009.6.23.1, 2010.1.17, 2010.1.18, 2010.3.15
Change log changelog.md
Dependencies base (>=4.0 && <5), bytestring, containers, data-default (>=0.2), hack (>=2009.5.19), hyena (>=0.1), network [details]
License BSD-3-Clause
Author Wang, Jinjing
Maintainer Wang, Jinjing <nfjinjing@gmail.com>
Category Web
Home page http://github.com/nfjinjing/hack-handler-hyena
Uploaded by JinjingWang at 2010-03-15T02:00:03Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 5717 total (24 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hack-handler-hyena-2010.3.15

[back to package description]


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)