summary refs log tree commit
path: root/lib/rack/content_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/content_type.rb')
-rw-r--r--lib/rack/content_type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/content_type.rb b/lib/rack/content_type.rb
index 0c1e1ca3..874c28cd 100644
--- a/lib/rack/content_type.rb
+++ b/lib/rack/content_type.rb
@@ -17,7 +17,7 @@ module Rack
       status, headers, body = @app.call(env)
       headers = Utils::HeaderHash.new(headers)
       headers['Content-Type'] ||= @content_type
-      [status, headers.to_hash, body]
+      [status, headers, body]
     end
   end
 end