log(level, data) Instance Public methods Logs data at level if the given level is above the current log level.
warn(msg) Instance Public methods Shortcut for logging a WARN message
warn?() Instance Public methods Will the logger output WARN messages?
new(*args) Class Public methods Creates a new CGI interface. The first argument in args is a configuration hash which would update WEBrick::Config::HTTP. Any remaining arguments are stored in the @options instance variable for use by a subclass.
[](key) Instance Public methods Reads key from the configuration
service(req, res) Instance Public methods Services the request req which will fill in the response res. See WEBrick::HTTPServlet::AbstractServlet#service for details.
start(env=ENV, stdin=$stdin, stdout=$stdout) Instance Public methods Starts the CGI process with the given environment env and standard input and output stdin and stdout.
new(name, value) Class Public methods Creates a new cookie with the given name and value
parse(str) Class Public methods Parses a Cookie field sent from the user-agent. Returns an array of cookies.
parse_set_cookie(str) Class Public methods Parses the cookie in str
Page 1855 of 11844