diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-09 11:37:03 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-09 11:37:03 +0000 |
| commit | 8ce3fb87ee2246292ce1a6fd3430c056b0af685d (patch) | |
| tree | 2cf323adb5ad5e281a25084883c0996ea4e714c0 /lib/debug.rb | |
| parent | df13c3dc00384e6a802e2c8abdb83fe7a16d61e3 (diff) | |
| download | ruby-8ce3fb87ee2246292ce1a6fd3430c056b0af685d.tar.gz ruby-8ce3fb87ee2246292ce1a6fd3430c056b0af685d.tar.xz ruby-8ce3fb87ee2246292ce1a6fd3430c056b0af685d.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@14968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/debug.rb')
0 files changed, 0 insertions, 0 deletions
