Commit Graph

4 Commits

Author SHA1 Message Date
Tyson Dowd
b588cf818b Fix a few problems in the Mercury cgi library.
Estimated hours taken: 1

Fix a few problems in the Mercury cgi library.

extras/cgi/cgi.m:
	Add cgi__maybe_get_form which processes forms
	if they are called using POST, otherwise it will return "no".
	This allows the form to handle the error itself, perhaps
	by giving the input form.

	Also fix a bug in printing the error message -- the
	content type must be set even for error messages.
1998-10-13 04:32:32 +00:00
Fergus Henderson
b3bc50c747 Add `:- import_module list'.
Estimated hours taken: 0.25

extras/cgi/form_test:
	Add `:- import_module list'.
1997-08-09 02:56:00 +00:00
Fergus Henderson
297a19577b Add comment "This is intended to conform to versions 1.0 and 1.1
Estimated hours taken: 0.25

extras/cgi/cgi.m:
	Add comment "This is intended to conform to versions 1.0 and 1.1
	of the CGI specification.".
1997-07-15 14:46:52 +00:00
Fergus Henderson
2a4fa34859 New library modules to provide support for writing CGI scripts.
Estimated hours taken: 8

extras/cgi/cgi.m:
extras/cgi/html.m:
	New library modules to provide support for writing CGI scripts.

extras/cgi/forms_test.m:
	An example program to test the above two modules.
1997-07-10 09:08:06 +00:00