Deprecated

hack-contrib

Hack contrib http://github.com/nfjinjing/hack-contrib

Latest on Hackage:2010.9.28

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Jinjing Wang
Maintained by Jinjing Wang

Middleware and Helper for Hack

Changes

2009.2.25

  • no dummy middlewares

2009.11.1

Fix

  • flush io in simple access logger

2009.8.18

Feature

  • new middleware

Fix

  • mps dep

2009.8.16

Feature

  • no $ noise

2009.7.3

Fix

For some reason, show status won't compile on many computers, remove it for now.

2009.6.25

Feature

  • windows compatible
  • use mps-light when possible to reduce size

2009.6.9

Fix

  • Rename simple router to urlmap
  • removed RawRouter, add RegexpRouter that respect scriptName

2009.6.7

Feature

  • add censor middleware

2009.5.19

Feature

  • Compatible with hack 5.19

2009.5.13

Fix

  • use lighter mps for minimal dependency

2009.4.52.2

Fix

  • use cgi helpers, less dependency

2009.4.52.1

Feature

  • debug middleware allows inserting of function that inspect env and response
  • inputs method from request is polymathic, handles both regular form and multi-part. File upload will have a (key, value) pair as ($input name, $file content), same for the rest of input fields. file name will be stored in (hack_input_file_name_"$input name", "$file_name") pair.

Fix

  • logger use utf-8 encoding
  • file-server use GMT time

2009.4.52

Feature

  • request / response helper, able to get params / inputs data

Fix

  • uniform utf8 interface for string
  • compatible with hack 4.52

2009.4.51.1

Fix

  • enforce unicode asap policy
  • rename ContnetSize to ContentLenght, since it was a typo

2009.4.51

Feature

  • config middleware

Fix

  • require MPS 4.50, hack 4.50

2009.4.50

Feature

  • more useful middlewares ported from rack-contrib

Fix

  • name change, showstatusmessage

2009.4.30

Feature

Init

comments powered byDisqus