about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-04-21 11:14:41 -0700
committerEric Wong <normalperson@yhbt.net>2009-04-21 11:16:23 -0700
commitaca95eb1157eff8351320c4b2f5daa904330e904 (patch)
treed53b913ea44b3fdde2d31b7cd45b19bb2941a41b
parentd048a9a8cc757d6b0078a47fa472eaefaa82b700 (diff)
downloadunicorn-aca95eb1157eff8351320c4b2f5daa904330e904.tar.gz
Otherwise applications can change them behind our back
and affect subsequent requests.
-rw-r--r--lib/unicorn/http_request.rb6
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)