Type:
Class
Constants:
CGIError
:
Class.new(StandardError)
The CGI error exception class
A CGI library using WEBrick requests and responses.
Example:
class MyCGI < WEBrick::CGI
def do_GET req, res
res.body = 'it worked!'
res.status = 200
end
end
MyCGI.new.start