lib/rack/handler/fastcgi.rb in rack-1.6.0.beta vs lib/rack/handler/fastcgi.rb in rack-1.6.0.beta2
- old
+ new
@@ -57,10 +57,10 @@
"rack.run_once" => false,
"rack.url_scheme" => ["yes", "on", "1"].include?(env["HTTPS"]) ? "https" : "http"
})
- env["QUERY_STRING"] ||= ""
+ env[QUERY_STRING] ||= ""
env["HTTP_VERSION"] ||= env["SERVER_PROTOCOL"]
env["REQUEST_PATH"] ||= "/"
env.delete "CONTENT_TYPE" if env["CONTENT_TYPE"] == ""
env.delete "CONTENT_LENGTH" if env["CONTENT_LENGTH"] == ""