mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
and WEBrick::CGI#config. these are necessary to use an instance of
WEBrick::CGI as the first argument of HTTPServlet#get_instance.
(suggested by Tatsuki Sugiura)
* lib/webrick/cgi.rb
(WEBrick::CGI#initalize): set a dummy to @config[:ServerSoftware]
if SERVER_SOFTWARE environment variable is not given.
(WEBrick::CGI#start): req.path_info must be a String.
(WEBrick::CGI::Socket#request_line): treat REQUEST_METHOD, PATH_INFO
and SCRIPT_NAME to run in console.
* lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape_path): should
not use String#split("/"). it removes trailing empty path component.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
English.rb lets Perl'ish global variables have English names Env.rb loads importenv.rb README this file base64.rb encodes/decodes base64 (obsolete) benchmark.rb a benchmark utility cgi-lib.rb simple CGI support library (old style) cgi.rb CGI support library cgi/session.rb CGI session class complex.rb complex number suppor csv.rb CSV parser/generator date.rb date object date/format.rb date parsing and formatting date2.rb date object (obsolete; use date) debug.rb ruby debugger delegate.rb delegates messages to other object drb.rb distributed Ruby e2mmap.rb exception utilities erb.rb tiny eRuby library eregex.rb extended regular expression (just a proof of concept) fileutils.rb file utilities finalize.rb adds finalizer to the object find.rb traverses directory tree forwardable.rb explicit delegation library ftools.rb file tools getoptlong.rb GNU getoptlong compatible getopts.rb parses command line options (use getoptlong) gserver.rb general TCP server importenv.rb imports environment variables as global variables ipaddr.rb defines the IPAddr class irb.rb interactive ruby jcode.rb Japanese text handling (replace String methods) logger.rb simple logging utility mailread.rb reads mail headers mathn.rb extended math operation matrix.rb matrix calculation library mkmf.rb Makefile maker monitor.rb exclusive region monitor for thread mutex_m.rb mutex mixin net/ftp.rb ftp access net/http.rb HTTP access net/imap.rb IMAP4 access net/pop.rb POP3 access net/protocol.rb abstract class for net library (DO NOT USE) net/smtp.rb SMTP access net/telnet.rb telnet library observer.rb observer desing pattern library (provides Observable) open-uri.rb easy-to-use network interface using URI and Net open3.rb opens subprocess connection stdin/stdout/stderr optparse.rb command line option analysis ostruct.rb python style object parsearg.rb argument parser using getopts parsedate.rb parses date string pathname.rb Object-Oriented Pathname Class ping.rb checks whether host is up, using TCP echo. pp.rb pretty print objects prettyprint.rb pretty printing algorithm profile.rb runs ruby profiler profiler.rb ruby profiler module pstore.rb persistent object strage using marshal racc/parser.rb racc (Ruby yACC) runtime rational.rb rational number support rdoc source-code documentation tool readbytes.rb define IO#readbytes resolv-replace.rb replace Socket DNS by resolve.rb resolv.rb DNS resolver in Ruby rexml an XML parser for Ruby, in Ruby rubyunit.rb original Ruby Unit testing framework scanf.rb scanf for Ruby set.rb defines the Set class shell.rb runs commands and does pipeline operations like shell shellwords.rb split into words like shell singleton.rb singleton design pattern library soap SOAP 1.1 implementation sync.rb 2 phase lock tempfile.rb temporary file with automatic removal test/unit Ruby Unit Testing Framework thread.rb thread support thwait.rb thread syncronization class time.rb RFC2822, RFC2616, ISO8601 style time formatting/parsing timeout.rb provides timeout tmpdir.rb retrieve temporary directory path tracer.rb execution tracer tsort.rb topological sorting un.rb Utilities to replace common UNIX commands in Makefiles etc uri.rb URI support uri/ftp.rb ftp scheme support uri/http.rb http scheme support uri/https.rb https scheme support uri/ldap.rb ldap scheme support uri/mailto.rb mailto scheme support weakref.rb weak reference class webrick.rb WEB server toolkit wsdl WSDL 1.1 implementation xmlrpc XML-RPC implementation xsd XML Schema Datatypes implementation yaml.rb YAML implementation