summary refs log tree commit
path: root/lib/rack/common_logger.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/common_logger.rb')
-rw-r--r--lib/rack/common_logger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/common_logger.rb b/lib/rack/common_logger.rb
index 692b2070..a513ff6e 100644
--- a/lib/rack/common_logger.rb
+++ b/lib/rack/common_logger.rb
@@ -50,7 +50,7 @@ module Rack
         env[REQUEST_METHOD],
         env[PATH_INFO],
         env[QUERY_STRING].empty? ? "" : "?#{env[QUERY_STRING]}",
-        env[HTTP_VERSION],
+        env[SERVER_PROTOCOL],
         status.to_s[0..3],
         length,
         Utils.clock_time - began_at ]