summary refs log tree commit
path: root/lib/rack/showexceptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/showexceptions.rb')
-rw-r--r--lib/rack/showexceptions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rack/showexceptions.rb b/lib/rack/showexceptions.rb
index 731aea49..60999e64 100644
--- a/lib/rack/showexceptions.rb
+++ b/lib/rack/showexceptions.rb
@@ -39,8 +39,8 @@ module Rack
       [
         500,
         {
-          "Content-Type" => content_type,
-          "Content-Length" => Rack::Utils.bytesize(body).to_s,
+          CONTENT_TYPE => content_type,
+          CONTENT_LENGTH => Rack::Utils.bytesize(body).to_s,
         },
         [body],
       ]