summary refs log tree commit
path: root/lib/rack/runtime.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/runtime.rb')
-rw-r--r--lib/rack/runtime.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rack/runtime.rb b/lib/rack/runtime.rb
index 405f4cbb..a1bfa696 100644
--- a/lib/rack/runtime.rb
+++ b/lib/rack/runtime.rb
@@ -21,7 +21,7 @@ module Rack
 
     def call(env)
       start_time = Utils.clock_time
-      status, headers, body = @app.call(env)
+      _, headers, _ = response = @app.call(env)
 
       request_time = Utils.clock_time - start_time
 
@@ -29,7 +29,7 @@ module Rack
         headers[@header_name] = FORMAT_STRING % request_time
       end
 
-      [status, headers, body]
+      response
     end
   end
 end