Class Netcgi_env.test_environment


class test_environment : ?config:cgi_config -> unit -> cgi_environment
An implementation of cgi_environment, intended to test CGI programs from the command-line.

Interprets command-line arguments from Sys.argv as test arguments. If there are not any arguments, the user is asked interactively for arguments.