Servlet for handling CGI
scripts
Example:
server.mount('/cgi/my_script', WEBrick::HTTPServlet::CGIHandler, '/path/to/my_script')
Constants
No documentation available
No documentation available
Class Methods
lib/webrick/httpservlet/cgihandler.rb
View on GitHub
# File tmp/rubies/ruby-2.4.10/lib/webrick/httpservlet/cgihandler.rb, line 35
def initialize(server, name)
super(server, name)
@script_filename = name
@tempdir = server[:TempDir]
@cgicmd = "#{CGIRunner} #{server[:CGIInterpreter]}"
end
Creates a new CGI
script servlet for the script at name