diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-04-21 11:14:41 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-04-21 11:16:23 -0700 |
commit | aca95eb1157eff8351320c4b2f5daa904330e904 (patch) | |
tree | d53b913ea44b3fdde2d31b7cd45b19bb2941a41b /lib/unicorn/http_request.rb | |
parent | d048a9a8cc757d6b0078a47fa472eaefaa82b700 (diff) | |
download | unicorn-aca95eb1157eff8351320c4b2f5daa904330e904.tar.gz |
Otherwise applications can change them behind our back and affect subsequent requests.
Diffstat (limited to 'lib/unicorn/http_request.rb')
-rw-r--r-- | lib/unicorn/http_request.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index c9c9503..7233008 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -18,11 +18,11 @@ module Unicorn "rack.multiprocess" => true, "rack.multithread" => false, "rack.run_once" => false, - "rack.version" => [0, 1], - "SCRIPT_NAME" => "", + "rack.version" => [0, 1].freeze, + "SCRIPT_NAME" => "".freeze, # this is not in the Rack spec, but some apps may rely on it - "SERVER_SOFTWARE" => "Unicorn #{Const::UNICORN_VERSION}" + "SERVER_SOFTWARE" => "Unicorn #{Const::UNICORN_VERSION}".freeze }.freeze def initialize(logger) |