Skip to content

Commit

Permalink
FIX: Add charset=utf-8 to content-type text/plain (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
akiomik committed May 31, 2021
1 parent ee4a482 commit a93060e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mini_profiler/profiler.rb
Expand Up @@ -630,7 +630,7 @@ def analyze_memory
end

def text_result(body)
headers = { 'Content-Type' => 'text/plain' }
headers = { 'Content-Type' => 'text/plain; charset=utf-8' }
[200, headers, [body]]
end

Expand Down

0 comments on commit a93060e

Please sign in to comment.