Web/Libraries/CGI

From HaskellWiki
< Web‎ | Libraries
Revision as of 18:00, 1 October 2010 by Chrisdone (talk | contribs) (Added CGI, FastCGI and direct-fastcgi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

cgi

Simple Library for writing CGI programs. This version of the library is for systems with version 2.0 or greater of the network package. This includes GHC 6.6 and later. 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.
  • Efficient file upload support.
  • Wrapper

License: BSD3

Copyright: Bjorn Bringert, Andy Gill, Anders Kaseorg, Ian Lynagh, Erik Meijer, Sven Panne, Jeremy Shaw

Author: Bjorn Bringert

Maintainer: Anders Kaseorg <andersk@mit.edu>

Home page: http://andersk.mit.edu/haskell/cgi/

Package & repositories

fastcgi

This library lets you write FastCGI programs. This package reuses the cgi package API, making it very easy to port CGI programs to FastCGI. The FastCGI C development kit is required to build this library.

License: BSD3

Copyright: Bjorn Bringert, Lemmih

Maintainer: Chris Done <chrisdone@gmail.com>

Package & repositories

direct-fastcgi

This package is a native implementation of the FastCGI protocol, allowing Haskell to work with any webserver that supports it. It makes no attempt to imitate the interface of the cgi-3000 and fastcgi-3000 packages, because that API is tied too heavily to legacy interfaces, as with its handling of exceptions, logging, and time. Its advantage over those packages is primarily in the area of clean exception management and better control structure which allows more versatility in processing requests which are not simple GETs. In particular, POST of large files should be possible, as should server-push responses which return content a piece at a time. Also, of course, as a native implementation, there is no dependency on a C library, which simplifies the install process.

License: BSD3

Copyright: Copyright (c) 2009 Dan Knapp

Author: Dan Knapp

Maintainer: dankna@gmail.com

Home page: http://dankna.com/software/

Package & repositories