cgi: A library for writing CGI programs

[ bsd3, library, network ] [ Propose Tags ]

This is a Haskell library for writing CGI programs.


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
install-examples

compile (and install) the example programs

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 3000.0.0, 3001.0.0, 3001.1.0, 3001.1.3, 3001.1.4, 3001.1.5, 3001.1.5.1, 3001.1.5.2, 3001.1.6.0, 3001.1.7.0, 3001.1.7.1, 3001.1.7.2, 3001.1.7.3, 3001.1.7.4, 3001.1.7.5, 3001.1.8, 3001.1.8.1, 3001.1.8.2, 3001.1.8.3, 3001.1.8.4, 3001.1.8.5, 3001.2.0.0, 3001.2.1.0, 3001.2.2.0, 3001.2.2.1, 3001.2.2.2, 3001.2.2.3, 3001.3.0.0, 3001.3.0.1, 3001.3.0.2, 3001.3.0.3, 3001.4.0.0, 3001.5.0.0, 3001.5.0.1 (info)
Change log CHANGELOG.md
Dependencies base (>=4.9 && <5), bytestring (<0.13), cgi, containers (<0.7), exceptions (>=0.10 && <0.11), mtl (>2.2.0.1 && <2.4), multipart (>=0.1.2 && <0.3), network-uri (>=2.6 && <2.7), parsec (>=2.0 && <3.2), time (>=1.5 && <1.13), xhtml (>=3000.0.0 && <3000.3) [details]
License BSD-3-Clause
Copyright Bjorn Bringert, John Chee, Andy Gill, Anders Kaseorg, Ian Lynagh, Erik Meijer, Sven Panne, Jeremy Shaw, Peter Simons
Author Bjorn Bringert
Maintainer John Chee <cheecheeo@gmail.com>, Peter Simons <simons@cryp.to>
Revised Revision 2 made by PeterSimons at 2023-12-26T16:11:54Z
Category Network
Home page https://github.com/cheecheeo/haskell-cgi
Bug tracker https://github.com/cheecheeo/haskell-cgi/issues
Source repo head: git clone https://github.com/cheecheeo/haskell-cgi.git
Uploaded by PeterSimons at 2023-01-16T11:12:32Z
Distributions Debian:3001.5.0.0, FreeBSD:3001.2.2.2, LTSHaskell:3001.5.0.1, NixOS:3001.5.0.1
Reverse Dependencies 41 direct, 35 indirect [details]
Executables upload.cgi, showAllInputs.cgi, redirect.cgi, printinput.cgi, hello.cgi, error.cgi, cookie.cgi
Downloads 43046 total (97 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-01-16 [all 1 reports]

Readme for cgi-3001.5.0.1

[back to package description]

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