@hackage cgi3001.5.1.0
A library for writing CGI programs
Categories
License
BSD-3-Clause
Maintainer
John Chee <cheecheeo@gmail.com>, Peter Simons <simons@cryp.to>
Links
Versions
- 3001.5.1.0 Sun, 23 Feb 2025
- 3001.5.0.1 Sat, 9 Nov 2024
- 3001.5.0.0 Mon, 7 Oct 2019
- 3001.4.0.0 Mon, 7 Oct 2019
- 3001.3.0.3 Mon, 7 Oct 2019
- 3001.3.0.2 Tue, 15 Nov 2016 Show all…
Installation
Tested Compilers
Dependencies (11)
- base >=4.9 && <5
- bytestring <0.13
- containers <0.8
- exceptions >=0.10 && <0.11
- mtl >2.2.0.1 && <2.4
- multipart >=0.1.2 && <0.3 Show all…
Dependents (56)
@hackage/haskell-platform-test, @hackage/hosc-utils, @hackage/tableaux, @hackage/polyseq, @hackage/happstack-fastcgi, @hackage/hdigest, Show all…
Package Flags
install-examples
(off by default)
compile (and install) the example programs
cgi
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