diff options
Diffstat (limited to 'lib/rack/content_type.rb')
-rw-r--r-- | lib/rack/content_type.rb | 2 |
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] |