mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
b04f5e661f
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 |
||
---|---|---|
.. | ||
test_cgi.rb | ||
test_cookie.rb | ||
test_filehandler.rb | ||
test_httpauth.rb | ||
test_httpproxy.rb | ||
test_httprequest.rb | ||
test_httpserver.rb | ||
test_httputils.rb | ||
test_httpversion.rb | ||
test_server.rb | ||
test_utils.rb | ||
utils.rb | ||
webrick.cgi |