The hack-handler-hyena package

[Tags: bsd3, deprecated, library]

Deprecated

Hyena hack handler


[Skip to ReadMe]

Properties

Versions2009.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 logchangelog.md
Dependenciesbase (>=4.0 && <5), bytestring, containers, data-default (>=0.2), hack (>=2009.5.19), hyena (>=0.1), network [details]
LicenseBSD3
AuthorWang, Jinjing
MaintainerWang, Jinjing <nfjinjing@gmail.com>
CategoryWeb
Home pagehttp://github.com/nfjinjing/hack-handler-hyena
UploadedMon Mar 15 02:00:03 UTC 2010 by JinjingWang
DistributionsNixOS:2010.3.15
Downloads1053 total (40 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for hack-handler-hyena-2010.3.15

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)