diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-05 15:41:06 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-09 19:50:48 -0800 |
commit | dad8471b4cc9412b0d56e68d0c143b356998c2a0 (patch) | |
tree | 3dfc5875f540ac548c162f503ca198d924525cd6 /lib/unicorn | |
parent | 75c73418f1fa401bf5c94aab08e78c162389dfb5 (diff) | |
download | unicorn-dad8471b4cc9412b0d56e68d0c143b356998c2a0.tar.gz |
It's pointless...
Diffstat (limited to 'lib/unicorn')
-rw-r--r-- | lib/unicorn/const.rb | 1 | ||||
-rw-r--r-- | lib/unicorn/http_request.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb index 8e52d4b..7c236c6 100644 --- a/lib/unicorn/const.rb +++ b/lib/unicorn/const.rb @@ -100,7 +100,6 @@ module Unicorn CONTENT_TYPE = "Content-Type".freeze LAST_MODIFIED = "Last-Modified".freeze ETAG = "ETag".freeze - SLASH = "/".freeze REQUEST_METHOD="REQUEST_METHOD".freeze GET="GET".freeze HEAD="HEAD".freeze diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index 57cf16b..7a95ee5 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -48,7 +48,6 @@ module Unicorn env["QUERY_STRING"] ||= '' env.delete "HTTP_CONTENT_TYPE" env.delete "HTTP_CONTENT_LENGTH" - env["SCRIPT_NAME"] = "" if env["SCRIPT_NAME"] == "/" env.update({"rack.version" => [0,1], "rack.input" => @body, "rack.errors" => STDERR, |