Directory lib/webrick/httpservlet/

Directory Created:
2003-07-23 17:51
Total Files:
Deleted Files:
Lines of Code:

Browse with ViewVC


Lines of Code

lib/webrick/httpservlet/ Lines of Code


Author Changes Lines of Code Lines per Change
Totals 28 (100.0%) 757 (100.0%) 27.0
gotoyuzo 19 (67.9%) 752 (99.3%) 39.5
akr 1 (3.6%) 3 (0.4%) 3.0
ocean 1 (3.6%) 1 (0.1%) 1.0
matz 1 (3.6%) 1 (0.1%) 1.0
shyouhei 6 (21.4%) 0 (0.0%) 0.0

Most Recent Commits

shyouhei 2007-02-13 00:01

set svn:eol-style

0 lines of code changed in:

akr 2006-02-20 09:34

* mkconfig.rb: generate RbConfig instead of Config.

* instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub,

ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb,

lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb,


test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb,

test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb,

test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb,

win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of


3 lines of code changed in:

matz 2006-02-20 01:15

* lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler):

qualify the access for Config constant. [ruby-dev:28338]

* lib/resolv.rb (Resolv::DNS::Resource::IN::A): qualify

ClassValue. [ruby-dev:28338]

1 lines of code changed in:

ocean 2006-01-09 06:27

* win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,

(VisualC++6) so use -O2b2xg- if $(MSC_VER) < 1400. [ruby-core:7040]

* lib/webrick/httpservlet/filehandler.rb: fixed typo. (Kero van Gelder)


1 lines of code changed in:

gotoyuzo 2005-10-30 21:40

* lib/webrick/httpservlet/cgihandler.rb

(WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie:

header field should be splited into each cookie. [ruby-Bugs:2199]

* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method

to parse the value of Set-Cookie: header field.

* test/webrick/test_cookie.rb, test/webrick/test_cgi.rb,

test/webrick/webrick.cgi: add some test for cookie.

6 lines of code changed in:

gotoyuzo 2005-08-07 21:16

* lib/webrick/httpproxy.rb (HTTPProxyServer#intialize),

lib/webrick/httpserver.rb (HTTPServer#intialize),

lib/webrick/httpservlet/cgihandler.rb (CGIHandler#initialize),

lib/webrick/httpservlet/erbhandler.rb (ERBHandler#initialize),


super (called with no arguments) takes default value of optional

arguments. [ruby-dev:26743]

* lib/webrick/httputils.rb: add a media-type "text/html" for .xhtml.

3 lines of code changed in:

gotoyuzo 2004-12-15 09:47

* lib/webrick/server.rb (WEBrick::GenericServer#start_thread):

should log about all accepted socket. [ruby-core:03962]

* lib/webrick/accesslog.rb (WEBrick::AccessLog#setup_params):

"%%" and "%u" are supported. [webricken:135]

* lib/webrick/httpservlet/filehandler.rb


:NondisclosureName is acceptable if it is Enumerable.

* lib/webrick/config.rb (WEBrick::Config::FileHandler):

default value of :NondisclosureName is [".ht*", "*~"].

19 lines of code changed in:

gotoyuzo 2004-10-12 13:26

* lib/webrick/config.rb:

add WEBrick::Config::FileHandler[:AcceptableLanguages].

* lib/webrick/httpservlet/filehandler.rb

(WEBrick::HTTPServlet::FileHandler#set_filename): search files

having suffix of language-name which Accept-Language header field

includes if :AcceptableLanguages options is present.

* lib/webrick/httpservlet/filehandler.rb

(WEBrick::HTTPServlet::FileHandler#get_servlet): new method to

search servlet correspond to the suffix of filename.

* lib/webrick/httprequest.rb: add attributes access methods: accept,

accept_charset, accept_encoding, accept_language, content_length

and content_type.

* lib/webrick/httpresponse.rb: add attribute access methods:

content_length, content_length=, content_type and content_type=.

* lib/webrick/httputils.rb (WEBrick::HTTPUtils.mime_types):

use the second suffix to detect media type. (the first suffix

may be a language name.)

* lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_qvalues):

add method to parse Accept header field. it returns an Array of

values sorted by the qvalues.

79 lines of code changed in:

gotoyuzo 2004-09-16 10:14

* lib/webrick/cgi.rb (WEBrick::CGI#start): should set REMOTE_USER

to request.user attribute.

* lib/webrick/httpservlet/filehandler.rb

(WEBrick::HTTPServlet::FileHandler#initialize): should expand

the pathname of document root directory.

1 lines of code changed in:

gotoyuzo 2004-08-13 05:11

* lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_range_header):

fix regex for range-spec.

* lib/webrick/httpservlet/filehandler.rb


multipart/byteranges response was broken.

* lib/xmlrpc/server.rb: refine example code.

6 lines of code changed in:

gotoyuzo 2004-08-09 07:04

* lib/webrick/httpservlet/erbhandler.rb

(WEBrick::HTTPServlet::ERBHandler#do_GET): should select media type

by suffix of script filename.

2 lines of code changed in:

gotoyuzo 2004-07-18 16:59

* lib/webrick/httpservlet/cgihandler.rb

(WEBrick::HTTPServlet::CGIhandler#do_GET): set SystemRoot environment

variable to CGI process on Windows native platforms. [ruby-dev:23936]

4 lines of code changed in:

gotoyuzo 2004-03-07 17:06

* lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander

to :RequestCallback and add new option :ServerAlias.

* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use

:RequestCallback and warn if :RequestHandler is in server's option.

* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print

error message for WEBrick::HTTPSataus::Error.

* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):

lookup for hostname from :ServerAlias if the is not match

to :ServerName.

* lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):

use $?.exitstatus and refine log message.

2 lines of code changed in:

gotoyuzo 2003-09-23 18:14

* lib/webrick/httpservlet/cgihandler.rb: conform to mswin32.

[ruby-talk:82735], [ruby-talk:82748], [ruby-talk:82818]

4 lines of code changed in:

gotoyuzo 2003-09-08 10:52

* lib/webrick/accesslog.rb (AccessLog::setup_params): use req.port

instead of config[:Port] or req.request_uri.port.

* lib/webrick/httprequest.rb (HTTPRequest#meta_vars): ditto.

* lib/webrick/httpservlet/filehandler.rb (FileHandler#dir_list): ditto.

* lib/webrick/config.rb: :Listen option never be used.

* lib/webrick/server.rb (GenericServer#initialize): don't use :Listen

option and add warning message.

* lib/webrick/log.rb (BasicLog#<<): shortcut of log(INFO, ...).

* lib/webrick/httpserver.rb (HTTPServer#accesslog): use << for logging.

1 lines of code changed in:

gotoyuzo 2003-07-23 17:51

* lib/webrick: imported.

625 lines of code changed in:

Generated by StatSVN 0.3.2-SNAPSHOT