# File MIME/types.rb, line 83 def Type.simplified(content_type) md = @@content_type_re.match(content_type) if not md.nil? mt = md[1] st = md[2] s = "" s << mt.downcase.gsub(/^x-/, '') << '/' << st.downcase.gsub(/^x-/, '') else nil end end