1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--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
httpservlet * lib/webrick/httpservlet/cgihandler.rb: external encoding of 2008-01-07 11:40:41 +00:00
accesslog.rb
cgi.rb
compat.rb
config.rb
cookie.rb
htmlutils.rb
httpauth.rb
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
https.rb
httpserver.rb
httpservlet.rb
httpstatus.rb
httputils.rb
httpversion.rb
log.rb
server.rb * lib/webrick/server.rb (WEBrick::HTTPServer#start): 2008-01-09 04:46:55 +00:00
ssl.rb
utils.rb
version.rb