Skip to content

andersk/haskell-cgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a72c71a · Feb 4, 2014
Jan 6, 2014
Jul 12, 2007
Sep 6, 2006
Mar 26, 2010
Sep 6, 2006
Jun 4, 2007
Feb 4, 2014
Sep 6, 2006
Aug 14, 2006

Repository files navigation

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.
- An efficient implementation of multipart/form-data 
  using Data.ByteString. This allows for efficient 
  handling of file uploads.
- Wrapper functions for compatibility with the old 
  Network.CGI module.
- A CGI monad transformer.
- Basic exception handling and logging (these should be improved)
- Low-level run functions that allow using programs written with 
  this package with protocols other than CGI, for example FastCGI.