diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-08 02:29:37 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-08-08 02:29:37 -0700 |
commit | c24a7cdd230ee0005add73b9d57bc859ddb57f83 (patch) | |
tree | 96720055bb6eafccef86f7684c29627b98a8f48a | |
parent | b7529ed1cc7cfd8df5fd1b069e2881d39d3d984c (diff) | |
download | rails-c24a7cdd230ee0005add73b9d57bc859ddb57f83.tar.gz rails-c24a7cdd230ee0005add73b9d57bc859ddb57f83.tar.bz2 rails-c24a7cdd230ee0005add73b9d57bc859ddb57f83.zip |
Don't shadow host method
-rw-r--r-- | actionpack/lib/action_controller/rack_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/rack_process.rb b/actionpack/lib/action_controller/rack_process.rb index aca38bde3d..dcbcf8bc1d 100644 --- a/actionpack/lib/action_controller/rack_process.rb +++ b/actionpack/lib/action_controller/rack_process.rb @@ -30,7 +30,7 @@ module ActionController #:nodoc: SERVER_NAME SERVER_PROTOCOL HTTP_ACCEPT HTTP_ACCEPT_CHARSET HTTP_ACCEPT_ENCODING - HTTP_ACCEPT_LANGUAGE HTTP_CACHE_CONTROL HTTP_FROM HTTP_HOST + HTTP_ACCEPT_LANGUAGE HTTP_CACHE_CONTROL HTTP_FROM HTTP_NEGOTIATE HTTP_PRAGMA HTTP_REFERER HTTP_USER_AGENT ].each do |env| define_method(env.sub(/^HTTP_/n, '').downcase) do @env[env] |