cgi: A library for writing CGI programs

[ bsd3, library, network ] [ Propose Tags ]

This is a Haskell library for writing CGI programs.


[Skip to Readme]
Versions [faq] 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
Change log CHANGELOG.md
Dependencies base (>=4.8 && <5), bytestring (<0.11), cgi, containers (<0.7), exceptions (==0.10.*), mtl (>2.2.0.1 && <2.3), multipart (>=0.1.2 && <0.2), network-uri (==2.6.*), parsec (>=2.0 && <3.2), time (>=1.5 && <1.10), 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 1 made by HerbertValerioRiedel at Sat Jan 26 15:49:22 UTC 2019
Category Network
Home page https://github.com/cheecheeo/haskell-cgi
Bug tracker https://github.com/cheecheeo/haskell-cgi/issues
Source repo head: git clone git://github.com/cheecheeo/haskell-cgi.git
Uploaded by PeterSimons at Fri Jan 25 16:21:19 UTC 2019
Distributions Debian:3001.3.0.2, FreeBSD:3001.2.2.2, LTSHaskell:3001.3.0.3, NixOS:3001.4.0.0, Stackage:3001.4.0.0
Executables upload.cgi, showAllInputs.cgi, redirect.cgi, printinput.cgi, hello.cgi, error.cgi, cookie.cgi
Downloads 26550 total (512 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-01-25 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
install-examples

compile (and install) the example programs

DisabledAutomatic

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

For package maintainers and hackage trustees


Readme for cgi-3001.4.0.0

[back to package description]

cgi

hackage release stackage LTS package stackage Nightly package travis build 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.
  • 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.

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