This is a Haskell library for writing CGI programs. Its features include: - Access to CGI parameters (e.g. form input) from both GET and POST requests. - Access to CGI environment variables. - Ability to set arbitrary response headers. - Support for HTTP cookies. - Efficient file upload support. - Wrapper functions for compatibility with the existing Network.CGI module.
$ darcs get --partial http://www.cs.chalmers.se/~bringert/darcs/haskell-cgi/
Latest release: cgi-2006.9.6.tar.gz
You can also use cgi-latest.tar.gz which should always redirect you to the latest release tarball.
$ tar -zxf cgi-2006.9.6.tar.gz $ cd cgi-2006.9.6
$ runghc Setup.hs configure
$ runghc Setup.hs build
# runghc Setup.hs install
bjorn@bringert.net
See LICENSE.