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 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
Change log CHANGELOG.md
Dependencies base (>=4.5 && <5), bytestring (<0.11), containers (<0.7), exceptions (==0.10.*), mtl (>=2.1.3.1 && <2.3), mtl-compat (>=0.2.1.1 && <0.3), multipart (>=0.1.2 && <0.2), network (<2.9), 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
Author Bjorn Bringert
Maintainer John Chee <cheecheeo@gmail.com>
Revised Revision 2 made by PeterSimons at Wed Nov 14 19:28:18 UTC 2018
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 Wed Nov 14 16:31:59 UTC 2018
Distributions Debian:3001.3.0.2, FreeBSD:3001.2.2.2, NixOS:3001.3.0.3, Stackage:3001.3.0.3
Downloads 25375 total (160 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-11-14 [all 1 reports]
Hackage Matrix CI

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
network-uri

Get Network.URI from the network-uri package

EnabledAutomatic
old-mtl

Use mtl-compat and mtl < 2.2.0.1

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

[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