This is a Haskell library for writing CGI programs.


Keywords
library, network, Propose Tags, Skip to Readme, , Index, Quick Jump, Network.CGI, Network.CGI.Cookie, Network.CGI.Monad, Network.CGI.Protocol, More info, cgi-3001.5.0.1.tar.gz, browse, Package description, revised, metadata revisions, Package maintainers, AndersKaseorg, BjornBringert, IanLynagh, MaxBolingbroke, PeterSimons, cheecheeo, edit package information , http://hackage.haskell.org/package/cgi, https://github.com/cheecheeo/haskell-cgi
License
BSD-3-Clause
Install
cabal install cgi-3001.5.0.1

Documentation

cgi

hackage release stackage LTS package stackage Nightly package CI Status

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.
  • 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.

On hackage: http://hackage.haskell.org/package/cgi Source: https://github.com/cheecheeo/haskell-cgi