# File lib/rack/request.rb, line 42 def media_type content_type && content_type.split(/\s*[;,]\s*/, 2).first.downcase end