1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/webrick
gotoyuzo b04f5e661f * lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields.
WEBrick::HTTPRequest#{host,port,request_uri} is derived having
  regards to X-Forwarded-Proto and X-Forwarded-Host.

* lib/webrick/httprequest.rb
  (WEBrick::HTTPRequest#server_name?): new method.
  (WEBrick::HTTPRequest#remote_ip?): new method.
  (WEBrick::HTTPRequest#ssl?): new method.
* string.c (rb_enc_cr_str_buf_cat): fix self appending.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-09 11:37:03 +00:00
..
test_cgi.rb * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Symbol should 2006-11-02 00:21:28 +00:00
test_cookie.rb * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new 2006-09-08 01:04:52 +00:00
test_filehandler.rb * eval.c: unify ruby_class (for method definition) and ruby_cbase 2006-02-03 09:15:42 +00:00
test_httpauth.rb
test_httpproxy.rb * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service): 2007-12-31 14:17:41 +00:00
test_httprequest.rb * lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields. 2008-01-09 11:37:03 +00:00
test_httpserver.rb
test_httputils.rb * lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#logger 2005-04-29 22:10:56 +00:00
test_httpversion.rb
test_server.rb * test/webrick/test_server.rb (test_daemon): delete an assertion 2005-01-08 19:09:12 +00:00
test_utils.rb * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters, 2006-05-18 13:42:52 +00:00
utils.rb * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service): 2007-12-31 14:17:41 +00:00
webrick.cgi * lib/webrick/httpservlet/cgihandler.rb 2005-10-30 20:40:05 +00:00