ruby/lib/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
..
httpauth * lib/webrick/httpauth/authenticator.rb 2007-07-04 14:51:22 +00:00
httpservlet * lib/webrick/httpservlet/cgihandler.rb: external encoding of 2008-01-07 11:40:41 +00:00
accesslog.rb * lib/webrick/server.rb (WEBrick::GenericServer#start_thread): 2004-12-15 08:47:49 +00:00
cgi.rb * lib/webrick/httprequest.rb, lib/webrick/cgi.rb: Request-Line or 2007-12-17 07:03:57 +00:00
compat.rb * lib/webrick/ssl.rb: new file; SSL/TLS enhancement for GenericServer. 2003-08-19 06:00:36 +00:00
config.rb * lib/webrick/server.rb (WEBrick::GenericServer#accept_client): 2007-12-18 14:43:03 +00:00
cookie.rb * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new 2006-09-08 01:04:52 +00:00
htmlutils.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
httpauth.rb * lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload): 2005-01-02 22:31:13 +00:00
httpproxy.rb * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service): 2007-12-31 14:17:41 +00:00
httprequest.rb * lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields. 2008-01-09 11:37:03 +00:00
httpresponse.rb * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters, 2006-05-18 13:42:52 +00:00
https.rb * lib/webrick/cgi.rb (CGI): add support for mod_ruby. 2003-12-22 21:13:06 +00:00
httpserver.rb * lib/webrick/httpserver.rb (WEBrick::HTTPServer::unmount): remove 2006-07-18 05:08:37 +00:00
httpservlet.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
httpstatus.rb * parse.y (assoc_list): remove expanded hash literal (no splat). 2007-06-29 06:27:49 +00:00
httputils.rb * lib/webrick/httputils.rb (WEBrick::HTTPUtils::FormData::<<): 2006-12-01 22:38:47 +00:00
httpversion.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00
log.rb * lib/webrick/log.rb (BasicLog#log): get rid of as ineffectual 2003-09-18 16:09:02 +00:00
server.rb * lib/webrick/server.rb (WEBrick::HTTPServer#start): 2008-01-09 04:46:55 +00:00
ssl.rb * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): should 2005-01-10 06:29:58 +00:00
utils.rb * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize): 2007-01-04 08:32:37 +00:00
version.rb * lib/webrick: imported. 2003-07-23 16:51:36 +00:00