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 dd96e959..78ba43b7 100644
--- a/lib/rack/content_type.rb
+++ b/lib/rack/content_type.rb
@@ -20,7 +20,7 @@ module Rack
       headers = Utils::HeaderHash.new(headers)
 
       unless STATUS_WITH_NO_ENTITY_BODY.include?(status)
-        headers['Content-Type'] ||= @content_type
+        headers[CONTENT_TYPE] ||= @content_type
       end
 
       [status, headers, body]