[m-dev.] for review: fix to cgi.m

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Oct 13 14:28:43 AEST 1998


On 13-Oct-1998, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> 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.

That looks fine.  Thanks.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list