# File lib/sup/util.rb, line 66 def charset if header.field?("content-type") && header.fetch("content-type") =~ /charset="?(.*?)"?(;|$)/i $1 end end