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
nahi 635d13a8b7 * lib/webrick/httprequest.rb (setup_forwarded_info): Parsing request
header failed when the request is from 2 or more Apache reverse 
  proxies. It's said that all X-Forwarded-* headers will contain more
  than one (comma-separated) value if the original request already
  contained one of these headers.  Since we could use these values as
  Host header, we choose the initial(first) value. See #4922.

* test/webrick/test_httprequest.rb (test_forwarded): Test it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-24 11:05:59 +00:00
..
.htaccess
test_cgi.rb * test/webrick/test_cgi.rb: Removes usage of deprecated 2011-01-12 00:37:12 +00:00
test_cookie.rb * lib/webrick/cookie.rb (WEBrick::Cookie.parse): Revert r31228. 2011-06-20 06:48:40 +00:00
test_filehandler.rb * test/webrick/test_filehandler.rb 2011-03-29 01:29:20 +00:00
test_httpauth.rb use require_relative. 2010-02-02 13:58:56 +00:00
test_httpproxy.rb * test/webrick/test_cgi.rb: Removes usage of deprecated 2011-01-12 00:37:12 +00:00
test_httprequest.rb * lib/webrick/httprequest.rb (setup_forwarded_info): Parsing request 2011-06-24 11:05:59 +00:00
test_httpserver.rb * lib/webrick/httpresponse.rb (HTTPResponse#setup_header): Close 2011-06-21 12:58:37 +00:00
test_httputils.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_httpversion.rb
test_server.rb don't sleep indefinitely. collect the zombie. 2010-05-07 15:07:11 +00:00
test_utils.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
utils.rb * test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need 2011-01-20 02:41:09 +00:00
webrick.cgi
webrick_long_filename.cgi